SA-MP Forums Archive
CAN SOMEONE HELP IF THIS IS POSSIBLE? - 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: CAN SOMEONE HELP IF THIS IS POSSIBLE? (/showthread.php?tid=83424)



CAN SOMEONE HELP IF THIS IS POSSIBLE? - shady91 - 24.06.2009

How do i remove wanted stars once player dead or in jail as i got it so when you do something wrong you get a star like in 1player but i cant figure how to make it go down is there a diffrent code for this anyone?please only post if you no what your talking about


Re: CAN SOMEONE HELP IF THIS IS POSSIBLE? - Stah - 24.06.2009

Use this.
pawn Код:
OnPlayerDeath(playerid)
{
  SetPlayerWantedLevel(playerid, 0); // 0 is the wanted level , you can change it.
}



Re: CAN SOMEONE HELP IF THIS IS POSSIBLE? - shady91 - 24.06.2009

lol i no that but i want wanted stars to dissapear



Re: CAN SOMEONE HELP IF THIS IS POSSIBLE? - shady91 - 24.06.2009

hmm lol its working now thanks stah it was earlier cheers mate