SA-MP Forums Archive
function "IncreaseWantedLevel" is not implemented - 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: function "IncreaseWantedLevel" is not implemented (/showthread.php?tid=376162)



function "IncreaseWantedLevel" is not implemented - _Khaled_ - 09.09.2012

pawn Код:
forward IncreasePlayerScore(playerid,Value);
Someone?


Re: function "IncreaseWantedLevel" is not implemented - clarencecuzz - 09.09.2012

pawn Код:
public IncreasePlayerScore(playerid,Value)
{
    SetPlayerScore(playerid, GetPlayerScore(playerid) + Value);
    return 1;
}



Re: function "IncreaseWantedLevel" is not implemented - _Khaled_ - 09.09.2012

Same to IncreaseWantedLevel..??


Re: function "IncreaseWantedLevel" is not implemented - mobiliz - 09.09.2012

For wanted level it is:

https://sampwiki.blast.hk/wiki/SetPlayerWantedLevel


Re: function "IncreaseWantedLevel" is not implemented - clarencecuzz - 09.09.2012

pawn Код:
forward IncreasePlayerWanted(playerid,Value);
public IncreasePlayerWanted(playerid,Value)
{
    SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid) + Value);
    return 1;
}