problem with GangZoneCreate...
#1

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.
Reply
#2

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)