07.11.2013, 16:51
Use a timer and check if the player is in range of that point. If the player is in range, then use TextDrawShowForPlayer to show the textdraw to the player and set a timer:
Then, when HideATMTD will be called, hide the textdraw with TextDrawHideForPlayer:
pawn Код:
SetTimerEx( "HideATMTD", 10000, false, "i", playerid );
pawn Код:
forward HideATMTD( playerid );
public HideATMTD( playerid )
{
TextDrawHideForPlayer( ... ); // EDIT THE PARAMETERS.
}