Posts: 45
Threads: 9
Joined: Dec 2008
Reputation:
0
I am working on a police script at the moment and i have some commands but i need a /suspect command unfortuantly i have no idea where to begin with this and i have done alot of searching and havent found anything usefull yet. i was wodnering if someone could help me and explain to me on what i need to do.
Posts: 1,781
Threads: 13
Joined: Sep 2009
Reputation:
0
first, i would just make a command that will make a player 1+ wanted level. then, if it works, check if that command is used by the faction/team (if gTeam[playerid]==TEAM_COP). then, check for the cop being in range (visual or your preferred range). always make sure its working by sending a message to all players so they see its not messed up.
then i would add some fines/fees to the suspect player so he has to pay the ticket...
and finally, to not being that command abused 10 times-in-a-row, add a gVariable to the victim player set to 1 if he got reported already as suspect, OR, make a timer so a cop needs some time, but i guess the first is better...
Posts: 2,431
Threads: 86
Joined: Nov 2009
Reputation:
0
I'm using it on my scratch free roam roleplay but i need a /suspect command to.
I have cuff commands made by like where instead of teams i have isplayercop = 280(skin id or sumthing maybe i try to create one for you)