Please help - 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: Please help (
/showthread.php?tid=83371)
Please help -
blackyy - 24.06.2009
I have a problemm
......PWN(135) : warning 202: number of arguments does not match definition
......PWN(135) : warning 202: number of arguments does not match definition
......PWN(135) : warning 202: number of arguments does not match definition
......PWN(135) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Warnings.
where is my error?
Pwn 135 Red marked
//======================
// Above OnGameModeInit:
new TerrorKings;
// OnGameModeInit Insert
TerrorKings = GangZoneCreate(828,1717, -1401,572, 1368,174, -1152,865);
return 1;
}
// Player Spawn
public OnPlayerSpawn(playerid) {
GangZoneShowForPlayer(playerid, TerrorKings, 0x00FF009A);
return 0;
}
//=================
Re: Please help -
Stah - 24.06.2009
TerrorKings = GangZoneCreate(828
,1717, -1401
,572, 1368
,174, -1152
,865);
Change the "," marked red to "."
Like this:
pawn Код:
TerrorKings = GangZoneCreate(828.1717, -1401.572, 1368.174, -1152.865);
Re: Please help -
blackyy - 24.06.2009
Quote:
Originally Posted by Stah™
TerrorKings = GangZoneCreate(828 ,1717, -1401 ,572, 1368 ,174, -1152 ,865);
Change the "," marked red to "."
Like this:
pawn Код:
TerrorKings = GangZoneCreate(828.1717, -1401.572, 1368.174, -1152.865);
|
i have the problemm thx ^^