Quote:
Originally Posted by PRoSToTeM@
Storing it for player is a bad way, better store it inside weapon entity.
|
That doesn't look like a bad idea, but still, pev_iuser fields aren't that many, tho i don't think it should be called "a bad way" using a simple Array =/
Btw, pev_iuser fields are cleared when the entity is deleted right ?
@PartialCloning
From what i remember, if i am not mistaken, the weaponbox entity (1) is holding an entity inside (2) but the player recieves a new entity (3) - the weapon... and entity (1 and 2 are getting removed )
Or the weaponbox entity (1) when picked is removed and creates another entity (2) - the weapon
Either way, the weaponbox entity is not the same with the weapon entity the player recieves...
__________________