SA-MP Forums Archive
I need! - 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: I need! (/showthread.php?tid=577834)



I need! - KamalBa - 14.06.2015

I am searching for a wanted system 2 days a go because my wanted level not working....

I want my wanted system to be work that 6 wanted stars like


You wanted level is 2 because of store robbery
If he robbed another store...
You wanted level is 4 because of store robbery
If he killed someone
You wanted level is 10 Because you have killed [someone]

etc...


Re: I need! - b3nz - 14.06.2015

Everytime you want to make a player more or less wanted, simply do this

pawn Код:
GivePlayerWantedLevel (playerid, GetPlayerWantedLevel (playerid) + your_amount); // this will give wanted level
GivePlayerWantedLevel (playerid, GetPlayerWantedLevel (playerid) - your_amount); // this will take away wanted level