weaponbox really very funny thing. when you dropped a weapon an actual weapon has coodrinates where the player dropped a gun. i thought it should have the same origin as weaponbox and use appropriate function to search entity in radius to get real weapon entity (to make search function by owner MORE faster). it's very uncomfortable.
PS. This does not work:
Code:
new g_sEntvarOwner[] = "owner"
new sOwner[5]; num_to_str(eid, sOwner, sizeof(sOwner)-1);
new ent = engfunc(EngFunc_FindEntityByString, 0, g_sEntvarOwner, sOwner)
I think FindEntityByString works with string type entvars only.