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



Zones - MrCallum - 17.03.2015

Hello, I am here to ask of a question to all scripters.

I am creating a police backup command, I need to get the player's 'Zone', my script is based in Blueberry but every time I call for back up ((Using someone else's /backup at the moment for my script until I have finished my /backup)) it says RedCounty but I wan't it to say Blueberry, can someone make me a public/forward function to add to my script so it will say blueberry?


Re: Zones - CalvinC - 17.03.2015

Can't you just change "Red County" to "Blueberry"?
Or is your zone detection wrong?


Re: Zones - MrCallum - 17.03.2015

I mean, how could I define different places?
I wan't to put: there is a chase in %s, GetPlayerZone); and it would say: There is a chase in Blueberry.


Re: Zones - CalvinC - 17.03.2015

There's a lot of scripts for that, you can check an include out here:
https://sampforum.blast.hk/showthread.php?tid=154653