Author Topic: Using Bitmap || Wont show up in minigame (1life)  (Read 516 times)

Hey People, Ive having problems making a Image popup while inn a minigame with 1 life TDM

It will popup if there is no minigame up.

i use
Code: [Select]
function MinigameSO::addMember(%mini,%client)
     {
parent::addMember(%mini,%client);
     centerPrint(%client, "<bitmap:" @ blablabla.textureName @ ">", 5);
     }
and to find it i use
Code: [Select]
datablock decalData(blablablabla)
{
textureName = "blablablalbal-thatthings thatshould have been here";
preload = true;
};

The first one is in a package ofc.

and tell me if there is an easier way to do this, that would be helpfull.

« Last Edit: August 17, 2011, 05:40:56 AM by xcruso »

You don't need to make a decalData
Just centerPrint(%client,"<bitmap:path/to/file>",5);

You don't need to make a decalData
Just centerPrint(%client,"<bitmap:path/to/file>",5);
ty, now it needs to work in minigames to, if anyone know please tell me.

ty, now it needs to work in minigames to, if anyone know please tell me.

Code: [Select]
announce("<bitmap:path/to/file>");

You don't need to make a decalData
Just centerPrint(%client,"<bitmap:path/to/file>",5);
If you don't use decaldata, people will see default images.

Correct me on this,if you have to

Code: [Select]
datablock decalData(bit)
{
centerPrint(%client,"<bitmap:path/to/file>",5);
};

If you don't use decaldata, people will see default images.
I see.

Correct me on this,if you have to

Code: [Select]
datablock decalData(bit)
{
centerPrint(%client,"<bitmap:path/to/file>",5);
};
No.
1. You don't put function calls inside datablock definitions.
2. Change 'path/to/file' to the path to the file