Raised This Month: $ Target: $400
 0% 

Shows wrong player name (old)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 05-18-2014 , 18:15   Shows wrong player name (old)
Reply With Quote #1

code:

PHP Code:
new nick[33][32];
public 
client_putinserver(id) {
    
get_user_name(idnick[id], 31);
}

public 
client_infochanged(id) {
    new 
name[32]; get_user_info(id"name"name31);
    if(!
equal(nick[id], name)) {
        
nick[id] = name;
        
get_user_name(idnick[id], 31);
    }

I want to the new player name is saved in the variable nick
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
 


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 09:35.


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