Please Help
#3

Quote:
Originally Posted by iFiras
Посмотреть сообщение
You should show the textdraw for the player when he/she spawns then set a timer for it.

Like this:
pawn Код:
public OnPlayerSpawn(playerid)
{
     TextDrawShowForPlayer(playerid,/*YourTextDraw'sName*/);
     SetTimer("hideTextdraw",10000,false);
     return 1;
}
pawn Код:
forward hideTextdraw(playerid);
public hideTextdraw(playerid)
{
     TextDrawHideForPlayer(playerid,/*YourTextDraw'sName*/);
     return 1;
}
Just some improvements and corrections.

pawn Код:
public OnPlayerSpawn(playerid)
{
     TextDrawShowForPlayer(playerid, /*TEXTDRAW_NAME*/);
     SetTimerEx("HideTextdraw", 10000, false, "i", playerid);
     return 1;
}

forward public HideTextdraws(playerid); TextDrawHideForPlayer(playerid, /*TEXTDRAW_NAME*/);
Reply


Messages In This Thread
Please Help - by AYOUYOU - 11.10.2014, 22:34
Re: Please Help - by iFiras - 11.10.2014, 23:24
Re: Please Help - by SickAttack - 11.10.2014, 23:31
Re: Please Help - by Threshold - 11.10.2014, 23:41
Re: Please Help - by SickAttack - 11.10.2014, 23:57
Re: Please Help - by ThePhenix - 12.10.2014, 00:20

Forum Jump:


Users browsing this thread: 1 Guest(s)