[One more question =D]
#7

Losing 1 gun:

pawn Код:
new weap; ammo;
GetPlayerWeaponData(playerid,7,weap,ammo); // Slot 7 was minigun etc right? The weapon is saved in the weap variable and his ammo is saved in the ammo variable.
GivePlayerWeapon(playerid,weap,-ammo); // Gives the player the negative amount of ammo he currently holds for his 'weap'.
Reply


Messages In This Thread
[One more question =D] - by Kevin_Joshen - 07.07.2010, 20:23
Re: [One more question =D] - by [SF]Bamdude37 - 07.07.2010, 20:26
Re: [One more question =D] - by killer98p - 07.07.2010, 20:27
Re: [One more question =D] - by Miikkel - 07.07.2010, 20:28
Re: [One more question =D] - by CAR - 07.07.2010, 20:28
Re: [One more question =D] - by Kevin_Joshen - 07.07.2010, 20:44
Re: [One more question =D] - by Hiddos - 07.07.2010, 20:45
Re: [One more question =D] - by CAR - 07.07.2010, 20:48
Re: [One more question =D] - by Kevin_Joshen - 07.07.2010, 20:56
Re: [One more question =D] - by Hiddos - 07.07.2010, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)