SA-MP Forums Archive
would not be able to spawn after some time. Need Help! - 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: would not be able to spawn after some time. Need Help! (/showthread.php?tid=445044)



would not be able to spawn after some time. Need Help! - Champ - 19.06.2013

i want to make a timer. when gamemode starts after 10 secs the player would not be able to spawn and automatically spectates other user. i have tried that. but it is not working. please tell me where problem is occured. because compiler is showing no error.

pawn Код:
public OnGameModeInit()
{
    SetTimerEx("Connect", 10000, false, "i");
    return 1;
}

forward Connect(playerid);

public Connect(playerid)
{
    TogglePlayerSpectating(playerid, 1);
    return 1;
}
Thank You.


Re: would not be able to spawn after some time. Need Help! - Champ - 19.06.2013

need help quick! plz !!


Re: would not be able to spawn after some time. Need Help! - dEcooR - 19.06.2013

Use playerspectateplayer?