Hit give wanted level
#1

when a cause has occurred cop give wanted level? help me
Reply
#2

I didn't fully understand you, but you mentioned something about wanted levels.

To set a wanted level you should use the function SetPlayerWantedLevel.

Proper syntax:
pawn Код:
SetPlayerWantedLevel(playerid, level);
If you want to learn more about wanted level feature you should hit samp wiki.

I hope I helped!
Reply
#3

you can also use this , for just add one level

PHP код:
new wantedlevel;
wantedlevel GetPlayerWantedLevel(playerid);
SetPlayerWantedLevel(playeridwantedlevel ) ; 
Reply
#4

Well, you can actualy make it a lot easier, just by using

Код:
SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid) + 1 ) ;
You are enable to use function in function, so why not to use it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)