SA-MP Forums Archive
[Tool/Web/Other] [PHP] SA:MP Zones (Locations) - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] [PHP] SA:MP Zones (Locations) (/showthread.php?tid=138786)



[PHP] SA:MP Zones (Locations) - StrickenKid - 03.04.2010

SA:MP Zones PHP
About
You all may know the SA:MP zones pawno include. Well I have transformed it into a PHP version, you can now use this PHP class for your online maps, and anything else you find it useful for. This PHP class comes with two functions; one for 2D and one for 3D.


Functions Both functions return the name of the zone found. If no zone is found for the co-ordinates, it will return "San Andreas".

Use

To use this class, simply include the file into the php file you wish and declare a new SAMPZones class instance.

Код:
include( "zones.php" );
$zones = new SAMPZones();
Then use the functions as so:

Код:
$2d_zone_name = $zones->Get2DZone($x_var, $y_var);
$3d_zone_name = $zones->Get3DZone($x_var, $y_var, $z_var);
Testing

You can test the class here.

Download

http://www.strickenkid.com/php_zones/download.php

Thanks To


Re: [PHP] SA:MP Zones (Locations) - Kyosaur - 03.04.2010

Narly array lol, but nice.


Re: [PHP] SA:MP Zones (Locations) - StrickenKid - 07.04.2010

Bump

Was on third page and no one got to see it


Re: [PHP] SA:MP Zones (Locations) - Fj0rtizFredde - 08.04.2010

Nice Useful for... Ehm.. Something


Re: [PHP] SA:MP Zones (Locations) - [MWR]Blood - 08.04.2010

Nice job bro.


Re: [PHP] SA:MP Zones (Locations) - Johnny_Xayc - 08.11.2010

re-download please(


Re: [PHP] SA:MP Zones (Locations) - royal_king - 08.11.2010

Download link not working!! please re-upload the new one


Respuesta: [PHP] SA:MP Zones (Locations) - xenowort - 08.11.2010

Nice yob!.

But the download link have a problem with the function Fopen for create file and download. Fix this.


AW: [PHP] SA:MP Zones (Locations) - GooMan - 08.11.2010

Please Reupload


Re: [PHP] SA:MP Zones (Locations) - GooMan - 27.11.2010

Please. Reupload this NICE thing!! Please.


Re: [PHP] SA:MP Zones (Locations) - Blacklite - 09.06.2011

New link:

http://www.strickenkid.com/php_zones/download.php


Re: [PHP] SA:MP Zones (Locations) - BASITJALIL - 10.06.2011

Watta nice Application


Re : [PHP] SA:MP Zones (Locations) - trickter - 02.12.2011

hey....i am getiing an error in my samp script when i use Get3dZone
is there any include ??