Raised This Month: $ Target: $400
 0% 

Change name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 09-10-2011 , 11:08   Change name
Reply With Quote #1

I test this code:
PHP Code:
    set_user_info(pId"name""Ololo");
    
    
message_begin(MSG_ALLget_user_msgid("DeathMsg"));
    
write_byte(0);
    
write_byte(pId);
    
write_byte(1);
    
write_string("");
    
message_end();
    
    
set_user_info(pId"name""[WPMG]PRoSToTeM@"); 
In console
Code:
[WPMG]PRoSToTeM@ killed self with a headshot from  ***
, but I want this
Code:
Ololo killed self with a headshot from  ***
.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 09-10-2011 , 15:31   Re: Change name
Reply With Quote #2

You should delete this:
PHP Code:
set_user_info(pId"name""[WPMG]PRoSToTeM@"); 
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 09-10-2011 , 21:33   Re: Change name
Reply With Quote #3

Quote:
Originally Posted by Napoleon_be View Post
You should delete this:
PHP Code:
set_user_info(pId"name""[WPMG]PRoSToTeM@"); 
I think he means he want's to change name after the deathmsg.
If so I think a small set_task() will make the trick
Erox902 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-11-2011 , 04:11   Re: Change name
Reply With Quote #4

Try set_pev(id, pev_netname,
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 09-17-2011 , 07:13   Re: Change name
Reply With Quote #5

Don't work.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
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 07:25.


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