SA-MP Forums Archive
Remove wanted level after death - 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: Remove wanted level after death (/showthread.php?tid=360356)



Remove wanted level after death - kbalor - 17.07.2012

Iam using Luxadmin system filterscript that saves anything. But after I get killed the wanted level still not resetting back. How do I change so everytime player connect and killed the wanted levels go back to 0 or no wanted levels.


Re: Remove wanted level after death - newbienoob - 17.07.2012

SetPlayerWantedLevel(playerid,0);


Re: Remove wanted level after death - Devilxz97 - 17.07.2012

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerWantedLevel(playerid, 0);
    return 1;
}