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

Help with this sma JailBreak Admin Check


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cojonesxx
Junior Member
Join Date: Apr 2011
Old 05-14-2015 , 19:08   Help with this sma JailBreak Admin Check
Reply With Quote #1

I need your help to compile the sma me well what is missing that tells me this error

PHP Code:
/tmp/text9lJ2MQ.sma(3) : fatal error 100cannot read from file"ColorChat" 
this complete sma and edited by me but I can not compile by the aforementioned mistake, please help me.

PHP Code:
#include <amxmodx> 
#include <amxmisc>  
#include <ColorChat> 

/***********************************************************\ 
*                          ACCESS                           * 
*                                                           * 
*        [DUEÑO] - (A) bcdefghijklmnopqrstu                 *
*        [SUPER ADMIN] - (T) cdefghijklmnopqrstu            *
*        [ADMINS] - (M) cdefghijkmnopqrstu                  *
*        [-VIP-]  - (C)  cjeip                              *
*                                                           *
\***********************************************************/ 

public plugin_init() { 
    
register_plugin("Admin-Check""5.5""ALBERTO"
    
    
register_clcmd("say /admin""show_admins"
    
register_clcmd("say /admins""show_admins"
    
register_clcmd("say /vip""show_admins")
    
register_clcmd("say /vips""show_admins")
    
register_clcmd("say_team /admin""show_admins"
    
register_clcmd("say_team /admins""show_admins"
    
register_clcmd("say_team /vip""show_admins")
    
register_clcmd("say_team /vips""show_admins")
    
register_clcmd("say /credit""credits")
    
register_clcmd("say /credits""credits")


public 
show_admins(id) {
    new [
DUEÑO][5], oCounter 
    
new [SUPER ADMIN][16], mCounter 
    
new [ADMINS][16], aCounter 
    
new [-VIP-][16], vCounter 
    
new MaxP[32], pCounterplayer 
    
    get_players
(MaxPpCounter"ch"
    
    for (new 
i=i<pCounter i++) 
    { 
        
player MaxP[i
        
        if (
access(playerADMIN_IMMUNITY)) {  
            [
DUEÑO][oCounter] = player 
            oCounter
++ 
            continue; 
        } 
        
        if (
access(playerADMIN_LEVEL_H)) { 
            [
SUPER ADMIN][mCounter] = player 
            mCounter
++ 
            continue; 
        }    
        
        if (
access(playerADMIN_LEVEL_A)) { 
            [
ADMINS][aCounter] = player 
            aCounter
++ 
            continue; 
        }             
        
        if (
access(playerADMIN_KICK)) { 
            [-
VIP-][vCounter] = player 
            vCounter
++ 
            continue; 
        }             
    } 
    if (
oCounter == 0)    // Si no hay Administradores en línea
    
{  
        
ColorChat(id,GREEN,"^3[^1 SERVER ^3] ^4[DUEÑO] Online: ^3No [DUEÑO] Online.")  
    }      
    else  
    {  
        new 
ronline[200]  
        new 
rname[32], i[DUEÑO]ID  
        
        
for (new z=z<oCounter z++)  
        {  
            
iOwnerID = [DUEÑO][z]  
            
get_user_name(i[DUEÑO]IDrname31)  
            
add(ronlinecharsmax(ronline), rname)  
            
            if (
!= oCounter-1)  
            {  
                
add(ronlinecharsmax(ronline), ", ")  
            }  
            
        }  
        
ColorChat(id,GREEN,"^3[^1 SERVER ^3] ^4[DUEÑO] Online: ^3%s."ronline)  
    } 
    
    if (
mCounter == 0)    // [SUPER ADMIN] están en línea  
    
{  
        
ColorChat(id,GREEN,"^3[^1 SERVER ^3] ^4[SUPER ADMIN] Online: ^3No [SUPER ADMIN] Online.")  
    }  
    else  
    {  
        new 
monline[200]  
        new 
mname[32], i[SUPER ADMIN]ID  
        
        
for (new z=z<mCounter z++)  
        {  
            
i[SUPER ADMIN]ID = [SUPER ADMIN][z]  
            
get_user_name(i[SUPER ADMIN]IDmname31)  
            
add(monlinecharsmax(monline), mname)  
            
            if (
!= mCounter-1)  
            {  
                
add(monlinecharsmax(monline), ", ")  
            }  
            
        } 
        
ColorChat(id,GREEN,"^3[^1 SERVER ^3] ^4[SUPER ADMIN] Online: ^3%s."monline)  
    } 
    
    if (
aCounter == 0)    // Si no hay [ADMINS] Online  
    
{  
        
ColorChat(id,GREEN,"^3[^1 SERVER ^3] ^4[ADMINS] Online: ^3No [ADMINS] Online.")  
    }  
    else  
    {  
        new 
aonline[200]  
        new 
aname[32], i[ADMINS]ID  
        
        
for (new z=z<aCounter z++)  
        {  
            
i[ADMINS]ID = [ADMINS][z]  
            
get_user_name(i[ADMINS]IDaname31)  
            
add(aonlinecharsmax(aonline), aname)  
            
            if (
!= aCounter-1)  
            {  
                
add(aonlinecharsmax(aonline), ", ")  
            }  
            
            
        } 
        
ColorChat(id,GREEN,"^3[^1 SERVER ^3] ^4[ADMINS] Online: ^3%s."aonline)  
    } 
    
    if (
vCounter == 0)    // Si no hay [-VIP-] Online  
    
{  
        
ColorChat(id,GREEN,"^3[^1 SERVER ^3] ^4[-VIP-] Online: ^3No [-VIP-] Online.")  
    }  
    else  
    {  
        new 
vonline[200]  
        new 
vname[32], i[-VIP-]ID  
        
        
for (new z=z<vCounter z++)  
        {  
            
i[-VIP-]ID = [-VIP-][z]  
            
get_user_name(i[-VIP-]IDvname31)  
            
add(vonlinecharsmax(vonline), vname)  
            
            if (
!= vCounter-1)  
            {  
                
add(vonlinecharsmax(vonline), ", ")  
            }  
            
        } 
        
ColorChat(id,GREEN,"^3[^1 SERVER ^3] ^4[-VIP-] Online: ^3%s."vonline)      
    }  


public 
credits(id) {
    
    
ColorChat(id,GREEN,"^3[^1 SERVER ^3] ^4Admin-Check 5.5 EDITADO POR ^3ALBERTO ^4GRACIAS POR ESTAR EN EL SERVER Y USAR EL PLUGIN.")      

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ fbidis\\ ansi\\ ansicpg1252\\ deff0{\\ fonttbl{\\ f0\\ fnil\\ fcharset0 Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ ltrpar\\ lang1037\\ f0\\ fs16 \n\\ par }
*/ 
cojonesxx is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 05-14-2015 , 20:01   Re: Help with this sma JailBreak Admin Check
Reply With Quote #2

Moved. This isn't Sourcemod related.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
cojonesxx
Junior Member
Join Date: Apr 2011
Old 05-14-2015 , 23:52   Re: Help with this sma JailBreak Admin Check
Reply With Quote #3

Quote:
Originally Posted by RedSword View Post
Moved. This isn't Sourcemod related.
Sorry but I'm new here in the forum and do not speak much English, but you could help me with that sma? that is what is wrong there?
cojonesxx is offline
xEhsaan
Member
Join Date: Mar 2015
Location: Isfahan, Iran
Old 05-15-2015 , 00:11   Re: Help with this sma JailBreak Admin Check
Reply With Quote #4

You need ColorChat module to compile. Search and you'll find it.
__________________
* Wait for something awesome...
* AMX Mod X Plugin Translation Repository [Paused Temporarily]
* Knife Deathmatch Shop
* Knife CFG Detector
* Looking for an idea...
xEhsaan is offline
Send a message via Skype™ to xEhsaan
cojonesxx
Junior Member
Join Date: Apr 2011
Old 05-15-2015 , 00:33   Re: Help with this sma JailBreak Admin Check
Reply With Quote #5

Quote:
Originally Posted by xEhsaan View Post
You need ColorChat module to compile. Search and you'll find it.

help me please? or leave it and I place it?
cojonesxx is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 05-15-2015 , 10:14   Re: Help with this sma JailBreak Admin Check
Reply With Quote #6

Quote:
Originally Posted by cojonesxx View Post

help me please? or leave it and I place it?
https://forums.alliedmods.net/showthread.php?t=94960

save it on amxstudio files:
AMX Mod X\files\base\scripting\include
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Reply



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 16:57.


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