SA-MP Forums Archive
SetPlayerWantedLevel - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetPlayerWantedLevel (/showthread.php?tid=134150)



SetPlayerWantedLevel - cozza123456 - 15.03.2010

Is it possible to make it so that:

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerWantedLevel(killerid, +1)
So that for everybody he kills he gets 1 star added on? i get errors when i tried this.


Re: SetPlayerWantedLevel - Correlli - 15.03.2010

pawn Код:
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid) + 1);