Raised This Month: $ Target: $400
 0% 

help blacklist system


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
liav319
Junior Member
Join Date: Mar 2009
Old 01-22-2013 , 06:53   help blacklist system
Reply With Quote #1

please help me why i get this error


PHP Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c1997-2006 ITB CompuPhaseAMX Mod X Team

Warning
Loose indentation on line 74
Warning
Unreachable code on line 75
Warning
Loose indentation on line 75
Warning
Loose indentation on line 98
Warning
: Function "client_authorizedold" should return a value on line 103
Warning
Loose indentation on line 123
Error
Invalid expressionassumed zero on line 127
Warning
Loose indentation on line 132
Warning
Loose indentation on line 314
Warning
Loose indentation on line 315

1 Error
.
Could not locate output file C:\****.amx (compile failed). 

PHP Code:
public client_authorized(id) {
    if (
is_user_bot(id))
        return 
PLUGIN_CONTINUE

    
const LEN 32

    
new authid[LEN 1], name[32]

    
get_user_authid(idauthidLEN)
    
get_user_name(idname31)

    
g_regged[id] = checkreg(authidname)

    if (
g_regged[id])
        
server_print("[%s] %s (%s) is registered."PLUGINNAMEnameauthid)
        if (
get_cvar_num(CVAR_KICKNONREGGED)) {
            new 
regurl[128]
            
get_cvar_string(CVAR_REGURLregurl127)
            
server_cmd("kick #%d your Steam ID %s is been blacklisted at %s ."get_user_userid(id), authidregurl
            else {
        
server_print("[%s] %s (%s) is not blacklisted."PLUGINNAMEnameauthid)
        }
    }

    return 
PLUGIN_CONTINUE


Last edited by liav319; 01-22-2013 at 06:54.
liav319 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 20:38.


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