[Question]Count - 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: [Question]Count (
/showthread.php?tid=184308)
[Question]Count -
Alex_Valde - 19.10.2010
Is it possible to count how many players wrote some command? And limit them to eg. 20 or something like that....
Or how many players have been teleported to some point?
Re: [Question]Count -
Mike_Peterson - 19.10.2010
dno exactly what u mean but like a teleport on the command use count++
also add before that a check if(count == 20) (use ur own variables.. this is a example :P )
if count is 20 send a message that they cant join... else count++ and teleport them (or command tihng)