How to remove wanted - 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: How to remove wanted (
/showthread.php?tid=393273)
How to remove wanted -
Shannkz - 17.11.2012
Hey, I got this problem, players get wanted when they kill in the GunGame event, how can I solve this? I don't them to get wanted level when they are in the GunGame...
Re: How to remove wanted -
zDivine - 17.11.2012
Check if they are in the GunGame, and don't set their wanted level.
You need to find the code where it sets their wanted level, I believe that would be under 'OnPlayerDeath'. And there you need to check if they are in the GunGame or not before setting the wanted level.
Re: How to remove wanted -
Shannkz - 17.11.2012
I don't understand...
Re: How to remove wanted -
Konstantinos - 17.11.2012
Find where it says
into the GunGame event part and delete it.
Re: How to remove wanted -
Dovydux - 17.11.2012
you should have a variable for the time you're in the gungame event. like [gungame] or smth. look down after OnPlayerDeath script where it gives wanted levels and do the check if the variable is 0 it gives wanted level and if variable is 1 it doesn't.