Group robbery command[+REP]
#6

Quote:

Haydz

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 .

Okay Okay IsplayerIncheckpoint wont this do it to all the checkpoints?

Look, i need explanation with a code if you can :/

Like i want to make a group robbery when a player types /teamrobbery the people who are in same checkpoint the money splits to all of them like i just need to define the players in checkpoint and then i can make it. can you send me an explanation with code? i know them visually but not typically i dont know what you are talking about now :/

Can you explain me more or give me a link :/ ?
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: 1 Guest(s)