SOLVED
#6

Copy and pasted this exactly how it is, dont move or edit anything.

pawn Код:
public OnPlayerRequestSpawn(playerid)
{  
  new PlayerName[MAX_PLAYER_NAME];
  GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
  if(ChosenClass[playerid] == 0 && strcmp(PlayerName,"Jay",false) != 0)
  {
     TextDrawShowForPlayer(playerid,help2);
     SetTimerEx("HideTextDraw",2000,false,"i",playerid);
     return 0;
  }
  return 1;
}
forward HideTextDraw(playerid); public HideTextDraw(playerid) TextDrawHideForPlayer(playerid,help2);//Put this under OnPlayerRequestSpawn, not in it or in any other callback.
Reply


Messages In This Thread
SOLVED - by Jay. - 14.05.2010, 16:07
Re: Timer help - by 0ne - 14.05.2010, 16:09
Re: Timer help - by Jay. - 14.05.2010, 16:12
Re: Timer help - by Bayler - 14.05.2010, 16:14
Re: Timer help - by Jay. - 14.05.2010, 16:25
Re: Timer help - by Killa_ - 14.05.2010, 16:47
Re: Timer help - by Jay. - 14.05.2010, 16:48
Re: Timer help - by Jay. - 14.05.2010, 18:19

Forum Jump:


Users browsing this thread: 1 Guest(s)