I need an advice...
#2

You can have as little as one timer a time for a player when they go to that building, and then destroy it after 5 seconds. In other words, you can have very few:
pawn Код:
//top of script
new Timer; //The variable so we can destroy the timer later
forward StopBuildingText(playerid);

//Under PlayertoPoint Function check
ShowBuildingTextForPlayer(playeird); //Your callback for showing the text
Timer = SetTimerEx("StopBuildingText", 5000, 0, "i", playerid);

public StopBuildingText(playerid)
{
  //Your script for destroying the textdraw
}
Something similar to this.
Reply


Messages In This Thread
I need an advice... - by Zeromanster - 28.06.2009, 04:27
Re: I need an advice... - by Grim_ - 28.06.2009, 04:32
Re: I need an advice... - by Zeromanster - 28.06.2009, 04:43
Re: I need an advice... - by Grim_ - 28.06.2009, 04:59

Forum Jump:


Users browsing this thread: 1 Guest(s)