05.03.2017, 02:10
So i did run out of ammo system
This system also works when the weapon does not bullets
But when I turn to weapons, the two rounds of this operating system does not run out of ammo though guns
So anyone help me,sorry my english is slightly worse
OnPlayerUpdate
This system also works when the weapon does not bullets
But when I turn to weapons, the two rounds of this operating system does not run out of ammo though guns
So anyone help me,sorry my english is slightly worse
OnPlayerUpdate
PHP код:
if(GetPlayerWeaponState(playerid) == WEAPONSTATE_NO_BULLETS)
{
GameTextForPlayer(playerid,"~y~EMPTY AMMO",250,5);
SetPlayerArmedWeapon(playerid,0);
return 1;
}