SetPlayerAmmo Question
#10

Better check that it's not me who are failing, heres the code for it (It's in a dialog)

pawn Код:
new oldAmmo = GetPlayerAmmo(playerid);
                SetPlayerAmmo(playerid, 3, (oldAmmo+strval(inputtext)));
By dialog then I mean it's a dialog not a command

Anyways, the other way would also have been working, I just do a if statement if he have a shotgun on him, then it's not abusable, anyways it might be me who are doing something wrong
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: 2 Guest(s)