Command Problem
#9

use this
PHP код:
CMD:level6(playerid,params[]) 

    new 
name[MAX_PLAYER_NAME], lev6[256];
    
GetPlayerName(playeridnameMAX_PLAYER_NAME); 
    
format(inamesizeof(iname), "%s.ini"name); 
    if(
dini_Int(iname,"Admin") < 6) return SendClientMessage(playerid,COLOR_RED"Нямаш права за тази команда");  
    
strcat((lev6"{EB4457}restart - рестартира сървъра\n"); 
    
strcat(lev6"{63E5E7}makeadmin - прави админ\n"); 
    
strcat(lev6"{EB4457}makevip - прави вип\n"); 
    
strcat(lev6"{63E5E7}tombn - слагаш макс идта в томболата\n"); 
    
strcat(lev6"{EB4457}tomb - теглиш томболата\n"); 
    
strcat(lev6"{63E5E7}revrestart - отменя рестартирането на сървъра\n"); 
    
strcat(lev6"{EB4457}awarn - слагане на админ предупреждение\n"); 
    
strcat(lev6"{63E5E7}rma - премахва DJ правата на играч\n")); 
    
strcat(lev6"{EB4457}muteall - заглушава всички играчи в сървъра\n"); 
    
strcat(lev6"{63E5E7}unmuteall - отглушава всички играчи в сървъра"); 
    
ShowPlayerDialog(playerid6DIALOG_STYLE_MSGBOX,"{EB4457}Admin Level 6"lev6"OK"""); 
    return 
1

Reply


Messages In This Thread
Command Problem - by TaligaroW - 29.09.2018, 20:35
Re: Command Problem - by solstice_ - 29.09.2018, 20:42
Re: Command Problem - by TaligaroW - 29.09.2018, 20:45
Re: Command Problem - by solstice_ - 29.09.2018, 20:46
Re: Command Problem - by TaligaroW - 29.09.2018, 20:53
Re: Command Problem - by solstice_ - 29.09.2018, 20:56
Re: Command Problem - by TaligaroW - 29.09.2018, 20:57
Re: Command Problem - by TaligaroW - 29.09.2018, 20:59
Re: Command Problem - by CaptainBoi - 30.09.2018, 04:36
Re: Command Problem - by TaligaroW - 30.09.2018, 10:02

Forum Jump:


Users browsing this thread: 2 Guest(s)