02.08.2015, 15:32
Quote:
I tried this under onplayerkeystate not working.
Код:
if(newkeys & KEY_FIRE) { new weaponid = GetPlayerWeapon(playerid); if( GetPlayerWeaponState(weaponid) == WEAPONSTATE_LAST_BULLET ) { SSWeapon[playerid][weaponid] = false; // SendClientMessage(playerid, 0xFF0000FF, "Weapon Empty Reseted-"); return 1; } } |