Facing a warning " warning 202: number of arguments does not match definition " - 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: Facing a warning " warning 202: number of arguments does not match definition " (
/showthread.php?tid=269672)
Facing a warning " warning 202: number of arguments does not match definition " -
Ehab1911 - 17.07.2011
Hello I am facing this warning:
Код:
warning 202: number of arguments does not match definition
The warning's line is:
pawn Код:
GivePlayerWeapon(playerid, dini_Int(file, "Weapon")-GetPlayerWeapon(playerid));
Re: Facing a warning " warning 202: number of arguments does not match definition " -
SmileyForCheat - 17.07.2011
try the alignment
pawn Код:
BLA BLA BLA BLA BLA
GivePlayerWeapon(playerid, dini_Int(file, "Weapon")-GetPlayerWeapon(playerid));
Change With
pawn Код:
BLA BLA BLA BLA
GivePlayerWeapon(playerid, dini_Int(file, "Weapon")-GetPlayerWeapon(playerid));
Re: Facing a warning " warning 202: number of arguments does not match definition " -
Ehab1911 - 17.07.2011
Not workin :S
AW: Facing a warning " warning 202: number of arguments does not match definition " -
Nero_3D - 17.07.2011
It is
GivePlayerWeapon(playerid, weapon, ammo);
Re: Facing a warning " warning 202: number of arguments does not match definition " -
Ehab1911 - 17.07.2011
How to make like Check how much the player had from Ammos and what weapon to save them?
Re: Facing a warning " warning 202: number of arguments does not match definition " -
emokidx - 17.07.2011
if you want to make a command to give player weapons do this
Код:
GivePlayerWeapon(playerid, [weapon id], [ammo]);
Re: Facing a warning " warning 202: number of arguments does not match definition " -
Wesley221 - 17.07.2011
Youre might looking for this
https://sampwiki.blast.hk/wiki/GetPlayerWeaponData