Whats the easy way to get (Float:minx, Float:miny, Float:maxx, Float:maxy) for GangZoneCreate
#1

Title says all,whats the easy way to get:

minx The X coordinate for the west side of the gangzone.
miny The Y coordinate for the south side of the gangzone.
maxx The X coordinate for the east side of the gangzone.
maxy The Y coordinate for the north side of the gangzone.
Don't tell me /save lol,i already know save,it takes you to get 4/saves to create one GANGZONE
Reply
#2

showthread.php?t=279647
Try this tool.
Reply
#3

You mean?
/save,gonna give me the minx and miny
and the second /save, maxx and maxy?
Reply
#4

pawn Code:
+-----------------------+Maxx and Maxy
                |                       |
                |                       |
                |                       |
Minx and Miny   +-----------------------+
That's suppose to be square.
Reply
#5

Code:
AddPlayerClass(107,2584.4651,-1788.6859,1.6470,179.7121,0,0,0,0,0,0); // Ganton GangZone SouthSide
AddPlayerClass(107,2406.8032,-1788.1587,13.5469,90.0658,0,0,0,0,0,0); // Ganton GangZone WestSide
AddPlayerClass(107,2411.0181,-1575.2137,23.9063,358.8124,0,0,0,0,0,0); // Ganton GangZone EastSide
AddPlayerClass(107,2586.3208,-1574.3561,6.4681,268.8849,0,0,0,0,0,0); // Ganton GangZone NorthSide
pawn Code:
//GangZones
GantonZONE = GangZoneCreate( );
GangZoneShowForAll(GantonZONE, 0x2D964DFF);
return 1;
}
This is under, OnGameModeinIt
Edit:i added SIDES.
Reply
#6

BUMP,someone?
Reply
#7

Why you don't use https://sampforum.blast.hk/showthread.php?tid=120586 ?
Reply
#8

Quote:
Originally Posted by Jafet_Macario
View Post
Didn't i say you are the best? Well you are!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)