12.07.2010, 11:31
Better check that it's not me who are failing, heres the code for it (It's in a dialog)
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
pawn Код:
new oldAmmo = GetPlayerAmmo(playerid);
SetPlayerAmmo(playerid, 3, (oldAmmo+strval(inputtext)));
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