SA-MP Forums Archive
problem with GangZoneCreate... - 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: problem with GangZoneCreate... (/showthread.php?tid=112310)



problem with GangZoneCreate... - *ToM* - 06.12.2009

Sup y'all, I've got a little problem right here, that I just dunno how to fix, as I forgot the formula for the GangZoneCreate or whatever it is.
I'm using X-Treme SAMP Ultimate Mapper, and I'm getting all of the coordinates, etc. I put them into the script and all but the gangzone just didn't show up.

Here's the code :

Код:
//======================
// Above OnGameModeInit:
new BLOOD;

// OnGameModeInit Insert
public OnGameModeInit() {
  BLOOD = GangZoneCreate(1641,979, -1472,632, 2071,699, -1125,23);
  return 1;
}
// Player Spawn
public OnPlayerSpawn(playerid) {
  GangZoneShowForPlayer(playerid, BLOOD, 0xFF000096);
  return 1;
}
//======================
When I'm trying to compile it, it gives me 4 warnings, and the gangzone is not showing up in game.

pawn Код:
warning 202: number of arguments does not match definition
So here's my question, what's that fucking definition for GangZoneCreate ?
Thanks in advance.


Re: problem with GangZoneCreate... - dice7 - 06.12.2009

BLOOD = GangZoneCreate(1641.979, -1472.632, 2071.699, -1125.23);


Re: problem with GangZoneCreate... - *ToM* - 06.12.2009

Quote:
Originally Posted by dice7
BLOOD = GangZoneCreate(1641.979, -1472.632, 2071.699, -1125.23);
Lol that's a really stupid mistake, I didn't notice it. Thanks Dice7