SA-MP Forums Archive
Wanted kill system - help - 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: Wanted kill system - help (/showthread.php?tid=427846)



Wanted kill system - help - Riven - 03.04.2013

Hello , I know this is a bit hard , but can anyone tell me how to make a system for cops n' robbery server , where someone kills a civilan he becomes wanted , and if a cop kills a wanted , the wanted becomes civilan , so Its like if a civilan/wanted kills anyone he gets more wanted stars , and if a cop only kills a wanted , the wanted loses all his stars, thanks in advance..


AW: Wanted kill system - help - [AK]Nazgul - 03.04.2013

Use
Код:
SetPlayerWantedLevel(playerid, level)
https://sampwiki.blast.hk/wiki/SetPlayerWantedLevel


Re: Wanted kill system - help - DiGiTaL_AnGeL - 03.04.2013

OnPlayerDeath check the player's team/faction and then use SetPlayerWantedLevel or use your wanted variable.