Group robbery command[+REP]
#1

I Just Need a group robbery command I've tried many times But i failed Any ideas on how to do it? or if someone could do it for me i would be very thankful
Reply
#2

Any help? i just want to know how to get how much players in cp
Reply
#3

Just advertise your server as much as you can
Reply
#4

What? Dont you even get the question? Im saying how to get how many players are in a checkpoint and you tell me to advertise my server --,-- ?
Quote:

Just advertise your server as much as you can

Reply
#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
#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
#7

Okay now i get it so how to define a checkpoint without being able to have it in dynamic cp?

Ex: IsplayerinCheckpoint(playerid, FourdragonsCP)
Reply
#8

OMG HAYDZ! YOU HELPED ME ALOT THANKYOU!

Ps: By the way i have played in your server for a while and i liked it it was my first samp server that i played on :
Keep up the good work!

+REP!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)