SetTimer OnPlayerConnect
#1

K, so i have some textdraws, and i want the players to be able to at least read the 2 lines of rules i have when the playerconnects.

So, when he connects, it sets a timer for like 5-6 seconds,after the timer stops, it hides the textdraws. THEN it loads the server info for him.

Will be greatly appreciated, thanx.
Reply
#2

At OnPlayerConnect:

pawn Код:
//Show the Textdraws....
SetTimerEx("HideMyTD", 5000, 0, "d", playerid);
Anywhere:

pawn Код:
forward HideMyTD(playerid);
public HideMyTD(playerid)
{
  //Hide your textdraws....
  return 1;
}
I hope this helps you.

Cheers!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)