Raised This Month: $ Target: $400
 0% 

SOLID_NOT for one player.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Owner123
Member
Join Date: Jun 2010
Old 10-14-2010 , 05:58   SOLID_NOT for one player.
Reply With Quote #1

Hi.
How i can make entity to SOLID_NOT for one player? I know, i must use FM_AddToFullPack, try with some codes but i cant do this.
I try it:
PHP Code:
public fwAddToFullPack(es_handleeentityhosthostflagsplayerpSet)
{
    if(
host == entity)
        return 
FMRES_IGNORED;
    
    static 
szClassname[32];
    
pev(entitypev_classnameszClassname31);
    
    if(
equal(szClassname"my_classname" && is_user_connected(host) && is_user_alive(host) && get_user_flags(host) & ADMIN_LEVEL_H)
            
set_es(es_handleES_SolidSOLID_NOT);
    return 
FMRES_IGNORED;

But this don't work.
__________________
Sorry for my bad english !
Owner123 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 10:19.


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