25.06.2015, 20:35
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 .
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 .