help !!
#1

Hey, can resetwapone from player but not all guns. I need if player have 5 gun and i need from what gun (gun id:6) resset what gun.
Reply
#2

You want to check what guns a player has and return the ID's? Sorry you're not being very clear.
Reply
#3

i need if player have gun (id:6), i need reset what gun not all guns
Reply
#4

If you want to reset only one weapon then you can use:

PHP код:
SetPlayerAmmo 
And set the ammo to 0.

PHP код:
if(GetPlayerWeapon(playerid) == 6)
{
    
SetPlayerAmmo(playerid60);

Reply
#5

Thanks ThePhenix
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)