Raised This Month: $ Target: $400
 0% 

client_cmd help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-21-2012 , 22:26   Re: client_cmd help
Reply With Quote #3

is_user_admin() returns a boolean value, the same as is_user_bot() and is_user_hltv(). You don't compare it to ADMIN_* constants.

You can't change their name on client_connect() they are not in the server yet, use client_putinserver(). Also, when changing names from the server you should always use set_user_info(id, "name", szNewName).
__________________

Last edited by fysiks; 04-21-2012 at 22:26.
fysiks 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 07:51.


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