Raised This Month: $ Target: $400
 0% 

[solved] addtofullpack from an entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-13-2009 , 14:36   Re: addtofullpack from an entity
Reply With Quote #1

PHP Code:
new gMyEntity
when creating entity use gMyEntity for id then..
PHP Code:
public fw_addtofullpack(es_handleepidhostflagsplayerpSet) {
    if( !
player && == gMyEntity ) {
        if( 
iTeam[id] == ) {
            
set_eses_handleES_RenderFxkRenderFxGlowShell );
            
set_eses_handleES_RenderColor, {01000} );
            
set_eses_handleES_RenderAmt25 );
        }
    }
    
    return 
FMRES_IGNORED

__________________
xPaw is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-13-2009 , 18:01   Re: addtofullpack from an entity
Reply With Quote #2

Ok testing it out, but what does the "player" variable stands for ? if the host is a player or the ent ?

also hostflags and pSet, what are those for ? :}

edit: yep, works... it was like my version, but I checked if "player" was positive, I would have cached the ent afterwards anyway
__________________

Last edited by Hunter-Digital; 05-13-2009 at 18:07.
Hunter-Digital 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 01:26.


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