Raised This Month: $ Target: $400
 0% 

Parameter error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 06-20-2010 , 19:52   Parameter error
Reply With Quote #1

PHP Code:
public client_putinserver(id
{
    new 
name[33] , userip[13] , country[32

    
get_user_name(id,name,32)
    
get_user_ip(id,userip,12)
    
geoip_country(useripcountry31)
    if(
IsUserAdmin(id))
    {
        
ColorChat(0,GREEN,"[]^1ADMIN^3 %s^1 has connected from^4 %s ^1,^4 %s"namecountry);  //line 27
    
}
    else
    {
        
ColorChat(0,GREEN,"[]^3 %s^1 has connected from^4 %s ^1,^4 %s"namecountry);
    }
  return 
PLUGIN_HANDLED

Code:
L 06/21/2010 - 02:47:26: [AMXX] Run time error 25: parameter error 
L 06/21/2010 - 02:47:26: [AMXX]    [0] colorchat.inc::ColorChat (line 53)
L 06/21/2010 - 02:47:26: [AMXX]    [1] connection.sma::client_putinserver (line 27)
Think some is wrong with my colorchat inc but whats wrong with this line
SpeeDeeR 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 14:52.


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