warning 202: number of arguments does not match definition
#1

i have make this with the x-treme san andreas multiplayer ultimate mapper

but he give warnings

pawn Code:
//======================
// Above OnGameModeInit:
new army;

// OnGameModeInit Insert
public OnGameModeInit() {
  army = GangZoneCreate(755,9178, -2293,762, 953,6653, -2072,688);
  return 1;
}
// Player Spawn
public OnPlayerSpawn(playerid) {
  GangZoneShowForPlayer(playerid, army, 0x00800096);
  return 1;
}
//======================
Code:
C:\Users\gijs\Desktop\samp022server.win32\filterscripts\xdingen.pwn(632) : warning 202: number of arguments does not match definition
C:\Users\gijs\Desktop\samp022server.win32\filterscripts\xdingen.pwn(632) : warning 202: number of arguments does not match definition
C:\Users\gijs\Desktop\samp022server.win32\filterscripts\xdingen.pwn(632) : warning 202: number of arguments does not match definition
C:\Users\gijs\Desktop\samp022server.win32\filterscripts\xdingen.pwn(632) : warning 202: number of arguments does not match definition
pawn Code:
line 632 = army = GangZoneCreate(755,9178, -2293,762, 953,6653, -2072,688);
Reply
#2

Code:
new army;

  public OnGameModeInit() {
  army = GangZoneCreate(755.9178, -2293.762);
  return 1;
}

public OnPlayerSpawn(playerid) {
  GangZoneShowForPlayer(playerid, army, 0x00800096);
  return 1;
}
i think you only give 2 positions
_____1
| |
| |
|_____|
2
Reply
#3

apart from that, whole numbers and decimal numbers are divided by a . and not a , so that will give out errors too.
Reply
#4

Look:

LINK TO IMAGE
Reply
#5

Thanks i have no warnings
but is it possible
to make it ingame with /save?
Reply
#6

I don't think there is a function like that.. How did you have the result of it in mind?
Reply
#7

But i mean i go to a place and i sav (with /save)
and i get this: (example)
AddPlayerClass(0,830.4836,-2136.7109,12.9021,310.6371,0,0,0,0,0,0);
what pos must here: (the blue orange or green)?
GangZoneCreate(755.9178, -2293.762, 953.6653, -2072.68;
Reply
#8

Just edit your coordinates .

EG : GangZoneCreate(7,7,7,7,7,7,7,7) to GangZoneCreate(7.7,7.7,7.7,7.7)...
Reply
#9

Ok
Reply
#10

Solved !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)