[FilterScript] text image 0.3d
#3

What about destorying it after player get spawned? Like;

new Text:TextDraw0[MAX_PLAYERS];

public OnPlayerSpawn(playerid)
{
DestroyTextDraw(TextDraw0[playerid]);
}

yeh, it uses memory, but just when player does connect...

Anyway, Nice.

EDIT: On 0.3e, it's being showed just for 1 ms. have not tested on 0.3d, but I think it will be same. Script needs to have a timer, and during that timer, this will be show up. It should look like this:
Код:
puiblic OnGameModeInit()
{
//Stuf and all
SetTimer("ConnectPic",3000,0);
return 1;
}

forward ConnectPic(playerid);
public ConnectPic(playerid)
{
      TextDrawShowForPlayer(playerid, Textdraw0);
}

OnPlayerConnect(playerid)
{
//stuff
ConnectPic(playerid);
}
This is how that will work. I assume you made this FS. Anyway, gj.
Reply


Messages In This Thread
text image 0.3d - by Don_pepe - 12.03.2012, 05:40
Re: text image 0.3d - by gabitzu4ever - 12.03.2012, 05:58
Re: text image 0.3d - by aco_SRBIJA - 12.03.2012, 10:17
Re: text image 0.3d - by BaubaS - 12.03.2012, 13:06
Respuesta: text image 0.3d - by Don_pepe - 12.03.2012, 18:01
Re: text image 0.3d - by BaubaS - 12.03.2012, 18:04
Respuesta: text image 0.3d - by Don_pepe - 12.03.2012, 18:14
Re: text image 0.3d - by [DOG]irinel1996 - 12.03.2012, 20:15
Re: text image 0.3d - by aco_SRBIJA - 12.03.2012, 20:22
Respuesta: text image 0.3d - by Don_pepe - 12.03.2012, 20:51

Forum Jump:


Users browsing this thread: 2 Guest(s)