SA-MP Forums Archive
Need Help Guys!!!!!! - 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: Need Help Guys!!!!!! (/showthread.php?tid=609337)



Need Help Guys!!!!!! - CarRamper - 11.06.2016

Hello Guys I Have Added Makabos zones script Which Is a script that will change the name of a place and will show u the name of place But i Want to Add My Own Location To It.But i Don't Know The Code Of It Please help Me on the code below.
Код:
// Makabos zones script // ALWAYS ADD NEW ZONES TO THE END (YOULL MESS UP ALL ROBBERIES)
new Float:zones[][zoneinfo] = {
{ "Supa Save (Int)",             -11.0048,  -31.3442,  1003.5494,  8.3204,  -2.7050,  50.00},
{ "Army Base",                   -1546.4114,  260.0058, 7.1797, -1222.0865, 521.8784, 50.00},
{ "SFPD (Int)",                  214.0158,  107.4454, 999.0156, 278.4889,  127.9651,  50.00},
{ "FBI HQ (Int)",                217.2494, 62.7068,  1001.0391,  270.0461,  92.4821,  50.00},
In Supa Save (Int)
-11.0048=X Axis
-31.3442=Y Axis
1003.5494=zAxis
But
8.3204=What??
-2.7050=What??
50.00=What??


Re: Need Help Guys!!!!!! - xTURBOx - 11.06.2016

if i am not wrong coordinates are in the following format
Код:
Float:MinX, Float:MinY, Float:MaxX, Float:MaxY
it may be used to check whether the player is in a specific area?
check out these for more info
https://sampwiki.blast.hk/wiki/Useful_F...IsPlayerInArea
https://sampforum.blast.hk/showthread.php?tid=222283