SA-MP Forums Archive
script 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: script problem (/showthread.php?tid=416375)



script problem - sscarface - 16.02.2013

i added onplayerupdate:


PHP код:
if(GetPlayerWantedLevel(playerid); >6SetPlayerWantedLevel(playerid,6); 
but wanted lvl still going to 30 10 20 and more. any idea?


Re: script problem - WillWinter - 16.02.2013

That ; shouldn't be there:

pawn Код:
if (GetPlayerWantedLevel(playerid) > 6) { SetPlayerWantedLevel(playerid, 6); }