Raised This Month: $ Target: $400
 0% 

SOLID_NOT for one player.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-14-2010 , 19:15   Re: SOLID_NOT for one player.
Reply With Quote #4

Quote:
Originally Posted by Owner123 View Post
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.
Make sure you are hooking it as Post.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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