10.11.2009, 23:03
Quote:
Originally Posted by aspire5630
Or people can just use this...
Code:
// Anywhere in your script stock FreezePlayer(playerid, milliseconds) { TogglePlayerControllable(playerid, 0); GameTextForPlayer(playerid, "~r~Loading...", 2000, 6); SetTimerEx("UnfreezePlayer", milliseconds, 0, "i", playerid); } forward UnfreezePlayer(playerid); public UnfreezePlayer(playerid) { TogglePlayerControllable(playerid, 1); GameTextForPlayer(playerid, "~g~Loaded!", 2000, 6); return 1; } Code:
FreezePlayer(playerid, 2500); |