18.08.2013, 03:52
Код:
C:\Users\DaviWindows\Desktop\[CSMBR] Gamer Virtual Server\gamemodes\[CSMBR].pwn(3939) : warning 202: number of arguments does not match definition C:\Users\DaviWindows\Desktop\[CSMBR] Gamer Virtual Server\gamemodes\[CSMBR].pwn(3942) : warning 202: number of arguments does not match definition
pawn Код:
if (weaponid == 24) // Desert Eagle
{
if(GetPlayerArmour(damagedid) > 0)
{
new Float:armour;
armour = GetPlayerArmour(damagedid);
SetPlayerArmour(damagedid,armour - amount);
}
else
{
SetPlayerHealth(damagedid,0);
}
}
}
Linhas de erro:
3939> if(GetPlayerArmour(damagedid) > 0)
3942> armour = GetPlayerArmour(damagedid);