Raised This Month: $ Target: $400
 0% 

restrict name error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
plazma
Senior Member
Join Date: Oct 2013
Old 01-12-2014 , 13:17   restrict name error
Reply With Quote #1

thanks all!

Last edited by plazma; 01-14-2014 at 15:55.
plazma is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-13-2014 , 02:16   Re: restrict name error
Reply With Quote #2

You cannot send the "name" command to a player's console. You have to use set_user_info(id, "name", "new name").
__________________
fysiks is offline
Monster Truck
Member
Join Date: Jan 2012
Location: France
Old 01-13-2014 , 02:40   Re: restrict name error
Reply With Quote #3

PHP Code:
client_cmdid"name ^"%s^""g_szInlocuitor ); 


PHP Code:
set_user_info(id"name""the new name"
Don't forget to add g_szInlocuitor on this lane after

Damn, u're faster than me My bad i didn't reload the thread :s

Last edited by Monster Truck; 01-13-2014 at 02:42.
Monster Truck is offline
plazma
Senior Member
Join Date: Oct 2013
Old 01-13-2014 , 07:13   Re: restrict name error
Reply With Quote #4

Thanks work fine, but how i can make the player change the name in game example www.xx.com and to rename "myweb.com" ?
plazma is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-13-2014 , 09:00   Re: restrict name error
Reply With Quote #5

Quote:
Originally Posted by plazma View Post
Thanks work fine, but how i can make the player change the name in game example www.xx.com and to rename "myweb.com" ?
We told you how to change their name.
__________________
fysiks is offline
Monster Truck
Member
Join Date: Jan 2012
Location: France
Old 01-13-2014 , 12:29   Re: restrict name error
Reply With Quote #6

What did you actually want ? You got your answer ?

Last edited by Monster Truck; 01-13-2014 at 12:29.
Monster Truck is offline
plazma
Senior Member
Join Date: Oct 2013
Old 01-13-2014 , 14:35   Re: restrict name error
Reply With Quote #7

I join the game and I change my name in server blabla.com why not change automatic the my name to myweb.com understand what want to do ?
plazma is offline
Monster Truck
Member
Join Date: Jan 2012
Location: France
Old 01-14-2014 , 09:57   Re: restrict name error
Reply With Quote #8

Then,


PHP Code:
set_user_infoid"name ^"%s^""g_szInlocuitor ); 
I just added, g_szInlocuitor,
Monster Truck is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-14-2014 , 10:14   Re: restrict name error
Reply With Quote #9

Quote:
Originally Posted by Monster Truck View Post
PHP Code:
set_user_infoid"name"g_szInlocuitor ); 
Fixed
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Monster Truck
Member
Join Date: Jan 2012
Location: France
Old 01-14-2014 , 10:17   Re: restrict name error
Reply With Quote #10

Ah ofc with set_user_info ...

Thank you, i'm too slow today :s

Last edited by Monster Truck; 01-14-2014 at 10:18.
Monster Truck is offline
Reply



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 10:04.


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