SA-MP Forums Archive
How do i set a players wanted level to 0? - 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: How do i set a players wanted level to 0? (/showthread.php?tid=85964)



How do i set a players wanted level to 0? - zerolight - 10.07.2009

I know how to getplayerwantedlevel and setplayerwantedlevel andall that, but how do i set a players wanted level to 0?

SetPlayerWanted(playerid,0); doesnt work.

when u use it, it doesnt do anything it jus tkeeps their wanted level where it is.

plz help.

TY!


Re: How do i set a players wanted level to 0? - abhinavdabral - 11.07.2009

It should work fine, because there is no fucntion like Reset the player's wanted level...I saw the wiki...and i didnt find any ...
Thank You
-Abhinav


Re: How do i set a players wanted level to 0? - zerolight - 11.07.2009

nope, there is no such thing as wanted level 0, there has to be another way,,.


Re: How do i set a players wanted level to 0? - zerolight - 11.07.2009

sorry for DP, but u were right, i just forgot to do return 1; after each option, s oit messed it up, thanks for the hep anyways guys!


Re: How do i set a players wanted level to 0? - abhinavdabral - 11.07.2009

lol...who..guys...only i posted in here.. :P


Re: How do i set a players wanted level to 0? - Johnny..Boy - 11.07.2009

Lol... no other function


Re: How do i set a players wanted level to 0? - abhinavdabral - 11.07.2009

Quote:
Originally Posted by Johnny..Boy
Lol... no other function
What you mean?