19.04.2010, 16:30
pawn Код:
dcmd_anfstunt(playerid,params[])
{
#pragma unused params
if(GetPVarInt(playerid, "gCaged") == 1) return SendClientMessage(playerid, RED, "You Can't Use This Command Because You're Trapped!");
if(PlayerInDM[playerid] == 1) return SendClientMessage(playerid, RED, "You Can Not Use This Command While In A Deathmatch Arena. Use /kill To Exit It.");
else
Streamer_UpdateEx(playerid, 2544.5302734375, -2905.310546875, 439.59332275391);
TogglePlayerControllable(playerid, false);
TelePlayer(playerid, 2544.5302734375, -2905.310546875, 439.59332275391, 0, 0);
LoadTimer[playerid] = SetTimerEx("CustomMapsFreeze", 4*1000, false, "i", playerid);
return 1;
}
Without the timer and freezing the player, the objects wont load fast enough.