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

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));
Reply
#2

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));
Reply
#3

Not workin :S
Reply
#4

It is GivePlayerWeapon(playerid, weapon, ammo);
Reply
#5

How to make like Check how much the player had from Ammos and what weapon to save them?
Reply
#6

if you want to make a command to give player weapons do this

Код:
GivePlayerWeapon(playerid, [weapon id], [ammo]);
Reply
#7

Youre might looking for this
https://sampwiki.blast.hk/wiki/GetPlayerWeaponData
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)