[question] class limit, and some other quiestions - 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] class limit, and some other quiestions (
/showthread.php?tid=69039)
[question] class limit, and some other quiestions -
Tranist - 15.03.2009
hey, im kinda new to this so i dont understand much in PAWN so i got some quiestions here-
1. how do i make a limit for a certain class (only one player can choose a certain class) and when that player is dead the game mode restarts.
2. how do i make it so that you cant have too many of one class if there isnt as much of other classes? (for sxample- i cant choose cops if theres 6-5 cops and 3-4 robbers)
3.how di i make like an invisible border that makes it so that the player cant go too far from Las-Venturas, or San-Fierro or any other place i decide.
4.how can i make an anti-teamkilling script?
thanks to anyone that helps out, a BIIG thanks.
Re: [question] class limit, and some other quiestions -
Tranist - 16.03.2009
anyone?
Re: [question] class limit, and some other quiestions -
Zoopaman - 16.03.2009
3) setplayerworldbounds maybe?
btw don't put a million questions in one thread - noone will answer that
Re: [question] class limit, and some other quiestions -
Tranist - 16.03.2009
ok thanks man, ill try a diffrent thread then