Raised This Month: $12 Target: $400
 3% 

Block name change create sz_Getspace: overflow


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 07-25-2011 , 13:37   Block name change create sz_Getspace: overflow
Reply With Quote #1

Hello. Here is my partial code:

PHP Code:
register_forwardFM_ClientUserInfoChanged"Fm_ClientUserInfoChangedPre" )

[...]

public 
client_putinserverid )
{
    
get_user_nameidg_szNamecharsmaxg_szName[ ] ) )
}

public 
Fm_ClientUserInfoChangedPreidszInfo )
{
    if( !
IsConnectedid ) )
        return 
FMRES_IGNORED
    
    
static szNewname32 ]
    
engfuncEngFunc_InfoKeyValueszInfo"name"szNewnamecharsmaxszNewname ) )
    
    if( 
equalszNewnameg_szNameid ] ) )
        return 
FMRES_IGNORED
    
    engfunc
EngFunc_SetClientKeyValueidszInfo"name"g_szNameid ] )
    
client_cmdid"name ^"%s^";setinfo name ^"%s^""g_szNameid ], g_szNameid ] )
    
    
ColorChatid"Change name restrict on this server!" )
    
    return 
FMRES_SUPERCEDE

Also I use galileo plugin from map changes, and where galileo start the map change (countdown) and player connected in the that moment will receive the 'overflow' message.

Any suggestions will welcome.
dFF 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 13:00.


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