05.08.2010, 17:30
Ok, So today i add a new command and i dont know why this wont work. I've got some other's teleports with Timer and they are working, I'll copy the same code to this and this doesnt work :/
Here's the code
It just do nothing, The GameTextForPlayer appear and the timer doesnt work
Here's the code
pawn Код:
on top of script
new stunt2timer;
pawn Код:
and on playerdissconnect
KillTimer(stunt2timer);
pawn Код:
if(strcmp("/stunt2", cmdtext, true, 10) == 0)
{
SetPlayerInterior(playerid,0);
GameTextForPlayer(playerid, "Objects Loading..", 1000, 1);
stunt2timer = SetTimerEx("FreezeTimer",3000,0,"d",playerid);
SetPlayerPos(playerid, 465.7092,-2250.7974,24.2511);
SendClientMessage(playerid, COLOR_YELLOW, "You have been teleported!");
return 1;