Raised This Month: $ Target: $400
 0% 

[HELP] How to Set entity of targetname?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
znovit
Member
Join Date: Mar 2009
Location: Behind you :=
Old 04-06-2009 , 05:12   Re: [HELP] How to Set entity of targetname?
Reply With Quote #5

Well, you can also try this.
PHP Code:
                       {
            new 
szName[32];
            
pev(entpev_targetnameszName31);
            
            if ( 
szName[0] == '^0' )
            {
                
copy(szName31"Unknown");
            } 
It will display Unknown if user isnt founded.
__________________
znovit 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 02:26.


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