SA-MP Forums Archive
Wanted Zones - 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: Wanted Zones (/showthread.php?tid=301641)



Wanted Zones - shagy - 05.12.2011

Hi well I wanted to know if i could get a script where some zones are prohibited. Like if the players (that are not cops, army etc) enter get wanted like 6 stars and so... Like Gang Zones but makes them wanted.
Thanks


Re: Wanted Zones - Thresholdold - 05.12.2011

I'd use something like
if(IsPlayerInRangeOfPoint...)
{
SetPlayerWanted(playerid,...)
}

and maybe add your team variable in there if necessary.


Respuesta: Wanted Zones - shagy - 05.12.2011

Could i use that for like example barricade al SF and if users get out of SF or jump the barricade they get wanted?