12.07.2010, 10:35
Hey everyone, I'm wondering if it's possible to do with SetPlayerAmmo so it pluses with your current amount of bullets in the weapon, I've tried:
But that just outputs errors
pawn Код:
SetPlayerAmmo(playerid,2,+strval(inputtext));
Код:
C:\Users\Oliver\Desktop\Made From Scratch Script\gamemodes\counterstrike.pwn(1335) : error 029: invalid expression, assumed zero C:\Users\Oliver\Desktop\Made From Scratch Script\gamemodes\counterstrike.pwn(1335) : error 001: expected token: ";", but found ")" C:\Users\Oliver\Desktop\Made From Scratch Script\gamemodes\counterstrike.pwn(1335) : error 029: invalid expression, assumed zero C:\Users\Oliver\Desktop\Made From Scratch Script\gamemodes\counterstrike.pwn(1335) : fatal error 107: too many error messages on one line