Raised This Month: $ Target: $400
 0% 

Error: Array sizes do not match


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
FlyingHorse
Senior Member
Join Date: Apr 2010
Location: Under your bed.
Old 03-31-2011 , 14:14   Error: Array sizes do not match
Reply With Quote #1

what am i doing wrong here? And could anyone fix that for me... just get one error when i try to compile:

Code:
Error: Array sizes do not match, or destination array is too small on line 27
PHP Code:
public client_putinserver(id)
{
    new 
Country[4], Ip[21]
    
get_user_ip(idIpcharsmax(Ip))
    
geoip_countryIpCountry );
    new 
name[32], szCountry[4], szIP[21
    
get_user_ip(idszIPcharsmax(szIP)) 
    
geoip_code2szIPszCountry );
    
get_user_name(idname31
    
    new 
szAuth[35];
    
get_user_authid(idszAuthcharsmax(szAuth));
    
    if( 
equal(szAuth"STEAM_0:0:39679185"))
    {
        
ColorChat(0RED"%s^x01 %s^x03 [%s]^x04 %s^x01 Has connected from^x04 %s"ClanTagCLMsgszCountrynameCountry)
    }
    else
    {
        
ColorChat(0RED"%s^x01 %s^x03 [%s]^x04 %s^x01 Has connected from^x04 %s"ClanTagIsUserAdmin(id) ? "Admin" "Player"szCountrynameCountry);
    }


Last edited by FlyingHorse; 03-31-2011 at 14:17.
FlyingHorse is offline
Send a message via Skype™ to FlyingHorse
 



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 14:41.


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