Small quiestion
#1

I'm noob and i forgot the function
What is the function to set an timer to an player(only a player)

This is what i need it for
Код:
public LoadMapToPlayer(playerid)
{
  TogglePlayerControllable(playerid, 0);
  SetTimer("LoadMapp", 3000, 0);
  GameTextForPlayer(playerid, "~g~Loading Map~n~~r~Please Wait", 3000, 1);
	return 1;
}
public LoadMapp(playerid)
{
  TogglePlayerControllable(playerid, 1);
	return 1;
}
Of course , if it isn't id 0 , the player remain frozen .
Doing an loop trough all the players isn't the best way ..

LE : Found it , is SetTimerEx , but how to use it ?
LLE : Solved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)