AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Armoury_Entity (https://forums.alliedmods.net/showthread.php?t=244959)

Ef_Deas 07-26-2014 08:27

Armoury_Entity
 
Hello, can anyone tell me how to imitate the "pick up" of armoury_entity, so no one can pick it up again till the next round? Setting nodraw effect just makes it invisible

Ef_Deas 07-26-2014 13:37

Re: Armoury_Entity
 
It turned out I just had to set
HTML Code:

entity_set_int(iArmoury, EV_INT_effects, EF_NODRAW)
set_pdata_int(iArmoury, m_iCount, 0, XO_CARMOURY)


SpeeDeeR 07-26-2014 14:29

Re: Armoury_Entity
 
PHP Code:

const XO_ARMOURY_ENTITY 4
const m_iCount 35 


meTaLiCroSS 07-26-2014 17:09

Re: Armoury_Entity
 
Btw, you can see how armoury_entity works on this decompiled code: https://forums.alliedmods.net/showpo...5&postcount=19 (all credits goes to Arkshine)


All times are GMT -4. The time now is 13:14.

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