23.05.2009, 16:23
Hey, how can I detect if a player is holding a certain weapon. For instance, I want to check if a player is holding an M4 rifle, not that he has one in his inventory.
if(GetPlayerWeapon(playerid) == 31) //M4 { }