Help with player in area - 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: Help with player in area (
/showthread.php?tid=408423)
Help with player in area -
SMW - 18.01.2013
can anyone help me ?
i want to make robbery script with at least there's 3 member of family in that area, how do i detect if there is 3 member of family in that area ?
thanks before.
Re: Help with player in area -
Glad2BeHere - 18.01.2013
https://sampforum.blast.hk/showthread.php?tid=160810
u wanna start here
Re: Help with player in area -
SMW - 18.01.2013
Quote:
Originally Posted by Glad2BeHere
|
thanks for suggest, but i think it's doesn't seem to solve my problem, i want to detect if at least there is 3 player or more in that area
something like this
PHP код:
if(count > 2) {
/* my bank robbery script */
}
else {
SendClientMessageEx(playerid, COLOR_GRAD2, "You need at least 3 member in the area to start the bank robbery! ");
}
but i dont know what should "count" refer to..