29.12.2014, 18:04
Do you mean that it doesn't get time to load the battlefield?
EDIT:
You can do this. Basically it makes a timer that takes 4 seconds, in the meantime it shows the text "Loading" so players doesn't get confused.
Remove the GameTextForPlayer if you dont want the Loading text, and adjust the time in SetTimerEx if you want.
EDIT:
pawn Код:
GameTextForPlayer(playerid, "~w~Loading", 3500, 3);
TogglePlayerControllable(playerid, 0);
SetTimerEx("EnterExitTimer", 4000, false, "i", playerid);
pawn Код:
forward EnterExitTimer(playerid);
public EnterExitTimer(playerid)
{
TogglePlayerControllable(playerid, 1);
return 1;
}
Remove the GameTextForPlayer if you dont want the Loading text, and adjust the time in SetTimerEx if you want.