AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   armoury_entity and weaponbox (https://forums.alliedmods.net/showthread.php?t=57117)

danielkza 06-28-2007 15:00

armoury_entity and weaponbox
 
Does anybody know if it's possible to get the corresponding weaponbox of a armoury_entity?I'm trying to find out when a armoury_entity has desapeared(no more weapons)

Thx

VEN 06-28-2007 15:09

Re: armoury_entity and weaponbox
 
armoury_entity doesn't linked to a weaponbox entity. To check if armoury_entity is disappeared you can do a check:
Code:
if (pev(armoury_entity_index_here, pev_effects) & EF_NODRAW)

danielkza 06-28-2007 16:34

Re: armoury_entity and weaponbox
 
Quote:

Originally Posted by VEN (Post 495893)
armoury_entity doesn't linked to a weaponbox entity. To check if armoury_entity is disappeared you can do a check: Code:
if (pev(armoury_entity_index_here, pev_effects) & EF_NODRAW)

this was exacltly what i was looking for,works perfectly
+karm


All times are GMT -4. The time now is 21:29.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.