Raised This Month: $ Target: $400
 0% 

get_user_name ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 07-13-2011 , 15:41   Re: get_user_name ?
Reply With Quote #3

PHP Code:
new szname[32]
get_user_name(id,szname,31)

if(
equal(szname,name)) // is the gotten user name the same as the 'name' variable that you posted
switch(cs_get_user_team(id))
{
case 
CS_TEAM_Tcs_set_user_model(id"test.mdl")
case 
CS_TEAM_CT:cs_set_user_model(id"test2.mdl")
default:
cs_reset_user_model(id)

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


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