[SIMPLE] GangZoneCreate -
PabloDiCostanzo - 27.03.2013
Greetings,
Hello, I have a question. I don`t understeand how to createa a gang zone...I mean I have this code for example
Код:
AddPlayerClass(281,2441.3367,-1722.2761,15.7118,88.8184,0,0,0,0,0,0); //
AddPlayerClass(281,2443.4976,-1629.8881,13.3922,98.1546,0,0,0,0,0,0); //
AddPlayerClass(281,2540.0388,-1628.9197,13.4244,36.3849,0,0,0,0,0,0); //
AddPlayerClass(281,2540.1575,-1720.3130,13.5431,197.4644,0,0,0,0,0,0); //
And what I need to take of this to make the gangzone?
P.S: I already saw
THIS
Regards,
Pablo.
Re: [SIMPLE] GangZoneCreate -
MP2 - 27.03.2013
You need to save two coordinates; North-East (top-right) corner and South-West (bottom-left) corner. Use the 'comments' parameter of /save to know which is your min and which is your max:
At the bottom-left: /save min
At the top-right: /save max
AddPlayerClass(281,
2441.3367,-1722.2761,15.7118,88.8184,0,0,0,0,0,0); // min
AddPlayerClass(281,
2443.4976,-1629.8881,13.3922,98.1546,0,0,0,0,0,0); // max
The highlighted numbers are the X and Y coordinates. You need minx, maxx, miny and maxy to make a gangzone/area etc. Should be easy to work out.
Respuesta: [SIMPLE] GangZoneCreate -
PabloDiCostanzo - 28.03.2013
So... I need to use the numbers in black only?
Respuesta: [SIMPLE] GangZoneCreate -
PabloDiCostanzo - 28.03.2013
Bump
Re: [SIMPLE] GangZoneCreate -
dominik523 - 28.03.2013
yeah, from this:
AddPlayerClass(281,
2441.3367,-1722.2761,15.7118,88.8184,0,0,0,0,0,0); // min
AddPlayerClass(281,
2443.4976,-1629.8881,13.3922,98.1546,0,0,0,0,0,0); // max
you would put like this:
AddPlayerClass(281,
2441.3367,-1722.2761,
2443.4976,-1629.8881,0,0,0,0,0,0); //
Re: [SIMPLE] GangZoneCreate -
iHaze. - 28.03.2013
Here you go, Easier one made by iPLEO.
Advanced GangZone Creator.
Respuesta: [SIMPLE] GangZoneCreate -
PabloDiCostanzo - 28.03.2013
Okay. I made a GangZone with that program but how can I fix this?
Код:
C:\Documents and Settings\Administrador\Escritorio\Gang Wars\filterscripts\GangZones.pwn(27) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Escritorio\Gang Wars\filterscripts\GangZones.pwn(27) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Escritorio\Gang Wars\filterscripts\GangZones.pwn(27) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Escritorio\Gang Wars\filterscripts\GangZones.pwn(27) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Escritorio\Gang Wars\filterscripts\GangZones.pwn(31) : error 030: compound statement not closed at the end of file (started at line 27)
And I have this
pawn Код:
new GROVE_ZONE;
public OnGameModeInit()
{
GROVE_ZONE = GangZoneCreate(2444,53125,-1624,21875,2538,28125,-1717,96875);
GangZoneShowForAll(GROVE_ZONE, 0x00FF0064);
Respuesta: [SIMPLE] GangZoneCreate -
PabloDiCostanzo - 28.03.2013
Okay,
I fixed that error, but the GangZone still doesen`t apear. I mean I can`t see it
Respuesta: [SIMPLE] GangZoneCreate -
PabloDiCostanzo - 29.03.2013
Bump
Guys, I can`t continue without the gang zones, please help me.
Quote:
Originally Posted by PabloDiCostanzo
Okay,
I fixed that error, but the GangZone still doesen`t apear. I mean I can`t see it
This is all what I have:
pawn Код:
#include <a_samp>
public OnFilterScriptInit() { print("\n--------------------------------------"); print(" GANG ZONES"); print("--------------------------------------\n"); return 1; }
public OnFilterScriptExit() { return 1; }
main() { print("\n----------------------------------"); print(" GANG ZONES"); print("----------------------------------\n"); }
public OnGameModeInit() { new GROVE_ZONE; GROVE_ZONE = GangZoneCreate(2441,40625,-1628,90625,2542,96875,-1720,703125); GangZoneShowForAll(GROVE_ZONE, 0x00FF0064); return 1; }
And the Gang Zone, doesen`t show for the player
|
Respuesta: [SIMPLE] GangZoneCreate -
MiGu3X - 29.03.2013
Ill show u a picture of an idea of gangzones of. Max X min y
Go to the wiki for more info...
Check this
https://sampwiki.blast.hk/wiki/GangZoneShowForAll
That will show gangzone for all.
Also you can use
GangZoneShowForPlayer
That will show gangzone for a player...