17.01.2012, 08:26
Hey guys emm what is wrong because i can't find a way to solve this....
i am using loading system..to freeze players for 2 seconds so the map will load..i used this onPlayerSpawn callback.
however it is not unfreezing the player after 2 seconds the play remains frozen..what i should do
P.S:i have made that with SetTimerEx...
pawn Код:
public Loading(playerid)
{
TogglePlayerControllable(playerid,0);
GameTextForPlayer(playerid, "~b~Loading ~g~Map ~w~Please Wait..",3000,5);
SetTimer("LoadingFinshed",2000,0);
return 1;
}
public LoadingFinished(playerid)
{
TogglePlayerControllable(playerid,1);
return 1;
}
however it is not unfreezing the player after 2 seconds the play remains frozen..what i should do
P.S:i have made that with SetTimerEx...