SA-MP Forums Archive
First time with gangzones - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: First time with gangzones (/showthread.php?tid=152300)



First time with gangzones - NewTorran - 03.06.2010

Hello,

This is my first ever time using gangzones,
I have got the minx, miny, maxx, maxz for where i want the gangzone to show which is over LS Airport.
I have used GangZoneShowForPlayer when the player spawns, BUT When i goto LS Airport i dont see it,
Although if i goto the edge of LS, Where the small bridge is to SF, next to the beach, The gangzone is there!
Why is this? The coordinates i have are correct as i checked them using IsPlayerInArea

Thanks

EDIT: I found it but its not in the location i want it,
Why isent it over LSAP?

[img width=1024 height=640]/imageshack/img210/3690/radarp.png[/img]


Re: First time with gangzones - DeathOnaStick - 03.06.2010




Re: First time with gangzones - NewTorran - 03.06.2010

Quote:
Originally Posted by DeathOnaStick
  • Maybe mixed up maxX with minX / maxY with minY?
  • If not, show the code please.
It starts where i want it to but it dosent finish where i want it to


Re: First time with gangzones - Joe_ - 03.06.2010

Use Sief_'s IsPlayerInArea generator, then get the cords and put them into your gangzones.


Re: First time with gangzones - NewTorran - 03.06.2010

Quote:
Originally Posted by Joe_
Use Sief_'s IsPlayerInArea generator, then get the cords and put them into your gangzones.
Thats exactly what ive done.
It starts where i want it to but it carries on, It never ends


Re: First time with gangzones - Joe_ - 03.06.2010

Re-do the cooridnates.

I done this once, I by accident deleted the ' - ' and ofc, -100.0 is much different to 100.0, I don't know what else to say otherwise.


Re: First time with gangzones - NewTorran - 03.06.2010

Quote:
Originally Posted by Joe_
Re-do the cooridnates.

I done this once, I by accident deleted the ' - ' and ofc, -100.0 is much different to 100.0, I don't know what else to say otherwise.
As i said :P There correct because i ran test with IsPlayerInArea,
And there isent any - missing or anything like that


Re: First time with gangzones - Joe_ - 03.06.2010

Maybe IsPlayerInArea is different?

Like..

IsPlayerInArea(MinX, MinY, MaxX, MaxY);

Gangthingy(MaxX, MinX, MinY, MaxY);

Have a look?


Re: First time with gangzones - -Rebel Son- - 03.06.2010

Use xtremes vehicle plotter. you can drag a gangzone.


Re: First time with gangzones - NewTorran - 03.06.2010

Quote:
Originally Posted by Joe_
Maybe IsPlayerInArea is different?

Like..

IsPlayerInArea(MinX, MinY, MaxX, MaxY);

Gangthingy(MaxX, MinX, MinY, MaxY);

Have a look?
Nope its not. Just looked
Quote:
Originally Posted by _Ч§hмf†ҐЧ™_
Use xtremes vehicle plotter. you can drag a gangzone.
Ok let me just say something.

I already have a thing that uses IsPlayerInArea,
If they use the command and there not in the area,
Then it shows the Gangzone, So they need to be the exact same



Re: First time with gangzones - GangsTa_ - 04.06.2010

Well, if you need to display it correctly, search for RyDeR's gangzones filterscript. I use it every time and it works.
(also see it's instructions).