Police Officer Ranking! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Police Officer Ranking! (
/showthread.php?tid=656849)
Police Officer Ranking! -
Man43 - 25.07.2018
Hi everybody! How to I can create a police ranking? Example? If there a player got +100arrested he will promoted to rank 2 and etc else +300arrested promoted to rank 3 How to do that? Thank you.
Re: Police Officer Ranking! -
augustogdo - 25.07.2018
Create a field in your saving system (dini, dof2, mysql etc) and save the number of times the cop has arrested someone.
After that, check how many players the police officer arrested and set his rank.
Re: Police Officer Ranking! -
Man43 - 25.07.2018
Can you just give me some codes examples? like tutorial let me understand more
Re: Police Officer Ranking! -
GTLS - 26.07.2018
Upon Arresting someone, increase the number of TotalArrests by 1. And also make a check at every time he arrests, If, TotalArrests is more than 100, set his JobRank(or whatever) to 2 and keep on doing this.
Re: Police Officer Ranking! -
Man43 - 06.08.2018
Can you give me more examples? I'm sorry for I'm not reply to you before but I lost my internet.. so can u give me more examples?