warning 202: number of arguments does not match definition -
gijs_min - 16.11.2008
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);
Re: warning 202: number of arguments does not match definition -
Pawel_Shark - 16.11.2008
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
Re: warning 202: number of arguments does not match definition -
Kelito - 16.11.2008
apart from that, whole numbers and decimal numbers are divided by a . and not a , so that will give out errors too.
Re: warning 202: number of arguments does not match definition -
gijs_min - 16.11.2008
Look:
LINK TO IMAGE
Re: warning 202: number of arguments does not match definition -
gijs_min - 16.11.2008
Thanks i have no warnings
but is it possible
to make it ingame with /save?
Re: warning 202: number of arguments does not match definition -
Kelito - 16.11.2008
I don't think there is a function like that.. How did you have the result of it in mind?
Re: warning 202: number of arguments does not match definition -
gijs_min - 16.11.2008
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

;
Re: warning 202: number of arguments does not match definition -
x-cutter - 16.11.2008
Just edit your coordinates .
EG : GangZoneCreate(7,7,7,7,7,7,7,7) to GangZoneCreate(7.7,7.7,7.7,7.7)...
Re: warning 202: number of arguments does not match definition -
gijs_min - 16.11.2008
Ok
Re: warning 202: number of arguments does not match definition -
Kerlan - 01.07.2011
Solved !