Wanted +1 - 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: Wanted +1 (
/showthread.php?tid=183224)
Wanted +1 -
dillo1000 - 14.10.2010
Ok so I have a wanted system and I want when a player kills someone else there wanted increases by 1 can anyone help?
Re: Wanted +1 -
rbN. - 14.10.2010
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid != INVALID_PLAYER_ID)
{
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid)+1);
}
return 1;
}
Re: Wanted +1 -
dillo1000 - 14.10.2010
Thanks ill just see if works but cant at the moment because my server crashed which I have posted in Scripting Dicussion