Raised This Month: $ Target: $400
 0% 

get_user_name ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Waleed
Senior Member
Join Date: May 2012
Location: Pakistan
Old 06-23-2012 , 15:36   Re: get_user_name ?
Reply With Quote #6

To get user name use this method:

PHP Code:
new name[32
get_user_name(id,name,charsmax(name// Getting name here
client_print(id,print_chat," Your name is %s",name//Chat message to verify 
I think
PHP Code:
new bool:isSimon 
should be:

PHP Code:
new bool:isSimon[] or [33
To get team You can do this:

PHP Code:
if(cs_get_user_team(id) == CS_TEAM_CT//Include cstrike for this native 
Error on line 22 should be because you didn't put " { " or " } " after team check

EDIT: Check my practice plugin here : http://forums.alliedmods.net/showthread.php?t=188202
It would help you.
__________________
Working On:
  1. Gameplay 1 - 0% [PAUSED]

Last edited by Waleed; 06-23-2012 at 15:47. Reason: tagged a bit
Waleed is offline
Send a message via Skype™ to Waleed
 



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 06:16.


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