SetPlayerAmmo Question
#1

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:

pawn Код:
SetPlayerAmmo(playerid,2,+strval(inputtext));
But that just outputs errors

Код:
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
Reply


Messages In This Thread
SetPlayerAmmo Question - by oliverrud - 12.07.2010, 10:35
Re: SetPlayerAmmo Question - by DeathOnaStick - 12.07.2010, 10:42
Re: SetPlayerAmmo Question - by oliverrud - 12.07.2010, 10:44
Re: SetPlayerAmmo Question - by oliverrud - 12.07.2010, 10:58
Re: SetPlayerAmmo Question - by novox - 12.07.2010, 11:03
Re: SetPlayerAmmo Question - by oliverrud - 12.07.2010, 11:07
Re: SetPlayerAmmo Question - by novox - 12.07.2010, 11:12
Re: SetPlayerAmmo Question - by oliverrud - 12.07.2010, 11:20
Re: SetPlayerAmmo Question - by novox - 12.07.2010, 11:22
Re: SetPlayerAmmo Question - by oliverrud - 12.07.2010, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)