Raised This Month: $ Target: $400
 0% 

get_user_name ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hackking
New Member
Join Date: Aug 2008
Old 07-13-2011 , 15:32   get_user_name ?
Reply With Quote #1

Hi, What should I change as I set get_user_ for names?



I found a similar pattern here, but is for steam..
https://forums.alliedmods.net/showthread.php?t=19562

Code:
        if (get_user_name(id) & name) {
                new CsTeams:userTeam = cs_get_user_team(id)
                if (userTeam == CS_TEAM_T) {
                        cs_set_user_model(id, "test.mdl")
                }
                else if(userTeam == CS_TEAM_CT) {
                        cs_set_user_model(id, "test2.mdl")
                }
                else {
                        cs_reset_user_model(id)
                }
        }
it does not work..

I want to customize a model in a name
I tried with this plugin:
https://forums.alliedmods.net/showth...ght=adminmodel

Sorry for my bad english..
Please help me..
hackking is offline
 


Thread Tools
Display Modes

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 00:57.


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