Quote:
Originally Posted by xPaw
The point is that you loop trough all entities on map and checking owner while find_ent_by_owner does that for you
And actually GetWeaponboxType looks bullshit o.0 because you return weaponid if first found entity matching owner
|
Ok, now i understand...
And GetWeaponBoxType( ) is not mine xd i don't know where i get that stock...
Well, i will update the thing about find_ent_by_owner( ). Thanks.
EDIT: Now i remember, the GetWeaponBoxType( ) stock is from fakemeta_util.inc i just only converted to engine.
__________________