SA-MP Forums Archive
[HELP]Problem with 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Problem with wanted (/showthread.php?tid=131338)



[HELP]Problem with wanted - sushihusi - 02.03.2010

Hello all!!

I would like that if the player spray the car in Pay'N'Spray he get one less wanted level.
Can somebody help me


Re: [HELP]Problem with wanted - Desert - 02.03.2010

Код:
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
	new wanted = GetPlayerWantedLevel(playerid);
	SetPlayerWantedLevel(playerid,wanted-1);
	return 1;
}
But you should have posted in script request thread


Re: [HELP]Problem with wanted - sushihusi - 02.03.2010

Thank you