Raised This Month: $ Target: $400
 0% 

Armoury_Entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ef_Deas
Member
Join Date: Aug 2012
Location: Rio de Janeiro
Old 07-26-2014 , 08:27   Armoury_Entity
Reply With Quote #1

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 is offline
Send a message via Skype™ to Ef_Deas
Ef_Deas
Member
Join Date: Aug 2012
Location: Rio de Janeiro
Old 07-26-2014 , 13:37   Re: Armoury_Entity
Reply With Quote #2

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)
Ef_Deas is offline
Send a message via Skype™ to Ef_Deas
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 07-26-2014 , 14:29   Re: Armoury_Entity
Reply With Quote #3

PHP Code:
const XO_ARMOURY_ENTITY 4
const m_iCount 35 

Last edited by SpeeDeeR; 07-26-2014 at 14:30.
SpeeDeeR is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 07-26-2014 , 17:09   Re: Armoury_Entity
Reply With Quote #4

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)
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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