At the end of every round, I want to loop through all players and their weapons. And remove weapons flagged with certial flag. For that, I need entity ID from all their weapons, so how can I retreive it?
PHP Code:
new i;
new weapons[32], iWeapons
get_user_weapons(id, weapons, iWeapons)
for (i = 0; i <= iWeapons; i++)
{
// How to get Entity ID here for all weapons that player have in inventory?
// Something like new iEnt = get_weapon_ent_id(iWeapons[i])
}