07.08.2012, 11:52
ok, so basically im trying to make my script dynamic as possible, as the current state when a player gets a weapon he has unlimited ammo,
now i could go through every line of code and change it to a set amount but thats not very easy, so i want something like this at the top of my script
so basically if its set to 1 when a player gets a gun it will give them unlimited, but if its set to 0 when a player gets a gun it will give them the define ammount of ammo i have defined so i need help making this and the part where it gets the defined ammo ammounts please help asap.
EDIT: then can it be something like this
The, ammo being the defined amount n shit
But yea i have no idea of how to do any of this , but if you help me make it and it works 100% il pay you
pawn Код:
GivePlayerValidWeapon(giveplayerid, 27, 60000);
pawn Код:
new unlimitedammo = 1
EDIT: then can it be something like this
pawn Код:
GivePlayerValidWeapon(giveplayerid, 27, ammo);
But yea i have no idea of how to do any of this , but if you help me make it and it works 100% il pay you