how do i make a simple /fine and /arrest command for police class?
#10

Quote:
Originally Posted by niels44
Посмотреть сообщение
hmm thnx but it isnt what i wanted... i wanted a fine cmd which u just can use /fine and then it checks if the player is near a wanted player and if he isnt then it says: ERROR: there is no wanted player in range to fine;
and if there is a wanted player in range then he fines him and the wanted player gets $500 reduced for each wanted star he has and the police gets the amount of cash the wanted player loses... i hope you guys understand this and else pls tell me then i will give better explaination... and can pls anyone make this for me?
We all do understand and we ca code every single thing you said. But the problem is we all will code it in different style as well as we will use different function's for different stuff. So it is required to see your script functios. The function which tells the server that the player is a Criminal. Have you defined something like new PlayerCriminal[MAX_PLAYERS]; and you do somewhere PlayerCriminal[player] = 1; and so on. Do you got some function like that which makes a playerid Criminal and not civilian!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)