Help With Gangzone!
#1

Hi, I am creating a spawn point in gangzone for my gamemode.
I've saved these coordinates:


------- X 2224.5210,1188.3505,10.6696,3.0986
--------
--------
--------
X ------- 2015.6190,1548.2318,10.8413,217.2089

The script is this:

new Spawn;

ONGAMEMODEINIT:
Spawn=GangZoneCreate(?, ?, ?, ?);

ONPLAYERCONNECT:
GangZoneShowForAll(Spawn,0x008400F2);

Here's my problem, I can not find the following coordinates:

MinX, Miny, Maxx, Maxy?

Can you explain how you found the code, or directly to you do that for me?
Reply
#2

please help D:
Reply
#3

please dont bump before the 48 hours...

now what you need is this
you need 2 positions

so you have the minx and miny
the position you show me is like this
pawn Код:
x,y,z,angle

2224.5210,1188.3505,10.6696,3.0986
so the first 2 values are your minx and miny
now you need the other corner of your gangzone square.

pawn Код:
x,y,z,angle
 2015.6190,1548.2318,10.8413,217.2089
so these first 2 are you maxx and maxy

HTH's
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)