14.05.2010, 16:47
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.