SA-MP Forums Archive
About Freeze Before Spawn - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: About Freeze Before Spawn (/showthread.php?tid=423950)



About Freeze Before Spawn - colonel-top - 20.03.2013

Hello Guys I Have Problem My Scripts Can Compile But Not Working Can Someone Help Or Fix this ? This is My Code
pawn Код:
public OnPlayerSpawn(playerid)
{
       SetTimer("freeze", 5000, false);
return 1;
}
public freeze(playerid)
{
    TogglePlayerControllable(playerid,0);
    return 1;
}
I need put it Before Player Spawn Or Wrong Code Or something ? Please Help me Thank You


Respuesta: About Freeze Before Spawn - Parka - 20.03.2013

pawn Код:
public OnPlayerSpawn(playerid)
{
       SetTimerEx("freeze", 5000, false, "d", playerid);
return 1;
}
public freeze(playerid)
{
    TogglePlayerControllable(playerid, false);
    return 1;
}



Re: About Freeze Before Spawn - colonel-top - 20.03.2013

Thank You Very Much ^_^ Thank You ^_^