15.08.2012, 20:03
You are using SetTimer for a timer that has a parameter, therefore you MUST use SetTimerEx. Use this code:
This should work
pawn Код:
forward unfreeze(playerid);
public unfreeze(playerid)
{
TogglePlayerControllable(playerid, 1);
}
CMD:enter(playerid, params[])
{
TogglePlayerControllable(playerid, 0);
SetPlayerPos(playerid,491.1090,1398.9766,1080.2578);
SetPlayerInterior(playerid, 2);
SetTimerEx("unfreeze", 1000, false, "i", playerid);
SetPlayerFacingAngle(playerid, 0);
return 1;
}