19.09.2015, 21:24
Код:
for (new i = 0; i <= 12; i++) { GetPlayerWeaponData(playerid, i, weapons[playerid][i], PlayerWeaponAmmo[playerid][i]); if(weapons[playerid][i] == WEAPON_GOLFCLUB) { Kick(playerid); } }
I use this because GetPlayerWeapon(playerid) only work for the weapon in hand at moment.
How to check player have WEAPON_GOLFCLUB?
Kindly Help
Thanks.