Raised This Month: $ Target: $400
 0% 

set player username


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sun_Blood
Junior Member
Join Date: Jul 2006
Old 09-14-2007 , 17:42   set player username
Reply With Quote #1

Hi

A quick question.
How can I change a players username?
I guess that I somehow can execute the name command in a players console but I dont know how.
Sun_Blood is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 09-14-2007 , 21:19   Re: set player username
Reply With Quote #2

Code:
client_cmd(id , "name ^"%s^"" , omgStringVariable)
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Sun_Blood
Junior Member
Join Date: Jul 2006
Old 09-15-2007 , 05:58   Re: set player username
Reply With Quote #3

thanks.
I knew it was a easy answer and that I was blind.. I will have to blame the boose
Sun_Blood is offline
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 09-15-2007 , 06:48   Re: set player username
Reply With Quote #4

I think that its better to use set_user_info

Code:
set_user_info(id, "name", szUserName)
__________________
All you need to change the world is one good lie and a river of blood
P34nut is offline
Reply


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


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