Raised This Month: $ Target: $400
 0% 

forcename bug


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
EXEQEDat
Junior Member
Join Date: Apr 2011
Old 04-27-2011 , 16:40   Re: forcename bug
Reply With Quote #4

Quote:
Originally Posted by SonicSonedit View Post
Store player-related info like name, password, authid and on player connect and never change it.
PHP Code:
new original_name[33]; // select name
new AuthID[35]; // select steam id

public client_putinserver(id)
{
    
get_user_name(idoriginal_name32);
    
get_user_authid(id,AuthID,34);
}

public 
client_PreThink(id)
{
    if (
pev(idpev_button)&IN_SCORE)
    {
        
set_hudmessage(2552552550.050.906.00.2);
        
// show_hudmessage(id, "Points: %d  Alltime: %d", points[id], loadpoints[id] + points[id]);    
        
new sp loadpoints[id] + points[id];
        
client_cmd(id"name ^"%s<%d>^""original_namesp);
    }

i try and not put nick but put points.
on connect:

Code:
* yERERERE:]] changed name to <14707>
and i try change to my nick

Code:
] name yeRERERE:]]
* Privileges set 
* <14707> changed name to yeRERERE
* Privileges set 
* yeRERERE changed name to <14707>
EXEQEDat is offline
 



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


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