SA-MP Forums Archive
Stop fuction - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Stop fuction (/showthread.php?tid=169086)



Stop fuction - billiout - 18.08.2010

there any fuction or something to stop the next callback to be acivate? i mean when the client connect to server there activate this callbacks first the onplayerconnect, second onplayerrequestclass, third onplayerrequestspawn, fourth onplayerspawn. i want to stop on one of this for example onplayerconnect for 1 min and then activate the onplayerrequestspawn. i hope you understand.


Re: Stop fuction - ikey07 - 18.08.2010

*bump*

Stop you can only on ClassRequest, but also till player dont press Spawn, actualy there dont have nothing like stop etc
Its do many callbacks at a time,


Re: Stop fuction - billiout - 18.08.2010

i cant stop on onplayerconnect?


Re: Stop fuction - Retardedwolf - 18.08.2010

return 0; / return 1; / Kick(playerid);

if you want to stop OnPlayerConnect why not just kick the player?