Raised This Month: $ Target: $400
 0% 

[solved] addtofullpack from an entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-13-2009 , 14:25   [solved] addtofullpack from an entity
Reply With Quote #1

I want to make an entity that I spawn glow to a single team, but I can't seem to make it working...

PHP Code:
public fw_addtofullpack(es_handleepidhostflagsplayerpSet)
{
    if(
player && iTeam[id] == && !is_player(p))
    {
          static class[
32]
 
          
entity_get_string(pEV_SZ_classname, class, 31)
 
          if(
equal(class, "my_entity_class"))
          {
               
set_es(es_handleES_RenderFxkRenderFxGlowShell)
               
set_es(es_handleES_RenderColor, {01000})
               
set_es(es_handleES_RenderAmt25)
          }
    }
 
    return 
FMRES_IGNORED

Or is this impossible ?
__________________
Hunter-Digital is offline
 



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