Whats the problem - 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)
+--- Thread: Whats the problem (
/showthread.php?tid=470690)
Whats the problem -
Wizza - 19.10.2013
pawn Код:
GiveWizzaWeapon(playerb, GetPlayerWeapon(playerid));
RemoveWizzaWeapon(playerid, GetPlayerWeapon(playerid));
I get a warning
pawn Код:
warning 202: number of arguments does not match definition
Warning is at this line
pawn Код:
GiveWizzaWeapon(playerb, GetPlayerWeapon(playerid));
Re: Whats the problem - Patrick - 19.10.2013
Show us the code above, the problem might be there, since this code is completely correct unless something is wrong with your stock/callback
pawn Код:
GiveWizzaWeapon(playerb, GetPlayerWeapon(playerid));
Re: Whats the problem -
Wizza - 19.10.2013
FIXEDDDD
Re: Whats the problem -
Wizza - 19.10.2013
B U M P
Re: Whats the problem -
Konstantinos - 19.10.2013
I assume you miss the 3rd parameter which is ammo. However, without showing us those functions, we cannot be sure.