Group robbery command[+REP]
#5

Hi,

To see how many players are in the checkout you can use IsPlayerInCheckpoint()

https://sampwiki.blast.hk/wiki/IsPlayerInCheckpoint

- create a var which counts player (make it start at 0)
- loop through all players
- check if player is in robbery checkpoint
- if player is in checkpoint then +1 to your count var.

At the end of your loop you will be able to see how many people are within the checkpoint .
Reply


Messages In This Thread
Group robbery command[+REP] - by MohammedZ - 11.06.2015, 10:32
Re: Group robbery command[+REP] - by MohammedZ - 25.06.2015, 20:26
Re: Group robbery command[+REP] - by kyriakos587 - 25.06.2015, 20:27
Re: Group robbery command[+REP] - by MohammedZ - 25.06.2015, 20:29
Re: Group robbery command[+REP] - by Haydz - 25.06.2015, 20:35
Re: Group robbery command[+REP] - by MohammedZ - 25.06.2015, 20:41
Re: Group robbery command[+REP] - by MohammedZ - 25.06.2015, 20:46
Re: Group robbery command[+REP] - by MohammedZ - 25.06.2015, 21:21

Forum Jump:


Users browsing this thread: 4 Guest(s)