SA-MP Forums Archive
Wanted level problem - 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 level problem (/showthread.php?tid=350198)



Wanted level problem - diablo16 - 11.06.2012

Please help me !

How can I make something where when a player kills another player for any reason, they get 1 stars (wanted) level automatically? And wen is a consecutive kill they get +1 wanted level ?


Re: Wanted level problem - HuSs3n - 11.06.2012

very simple
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid)+1);
    return 1;
}