Namespace: CFXAPI set: server
GET_CURRENT_PED_WEAPON
// GetCurrentPedWeapon
Hash GET_CURRENT_PED_WEAPON(Ped ped);
Returns the hash of weapon the Ped is currently using.
WARNING! Server natives in the CFX namespace are taken directly from FiveM. Most of server-side game state related natives are NOT AVAILABLE in RedM!