dimanche 6 septembre 2015

Zadmin acmd1 & acmd2 commands not working in server

Hi guys I added the Zadmin filterscript to my server and when I tried to use the commands, there were two of them that didn't work. The /acmd1 and the /amcd2 commands. Those commands are supposed to show the admin commands panels but the panels don't show when we type the commands. Here's the script lines for the two commands :

/acdm1


PHP Code:

dcmd(acmd19cmdtext); //this is in the OnPlayerCommandText

dcmd_acmd1(playerid,params[]){
  
#pragma unused params
  
if(Account[playerid][pAdminlevel]>=1){
    
SendClientMessage(playeridCOLOR_ZADMINBLUELanguageText[149]);
    
SendClientMessage(playeridCOLOR_WHITE"/asay /announce  |  # [text] (it's private admin chat!)  /acmd2 /admincolor /playersrecord /defultsetting");
    
SendClientMessage(playeridCOLOR_WHITE"/muted /freezed /jailed /makevip /removevip /savepersonalcar /replacepersonalcar");
    
SendClientMessage(playeridCOLOR_WHITE"/veh /fix /fixpv /flip /givecar /heal /jetp /armour /mute /unmute /jail /unjail /disarm /removeweapon /reset /warn");
    
SendClientMessage(playeridCOLOR_WHITE"/setweather /settime /carcolor /getip /getvhealth /setvhealth /eject /burn /crash /teleplayer /setname /banwarn");
    
SendClientMessage(playeridCOLOR_WHITE"/die /lock /unlock /god /sgod /get /goto /vget /vgoto /setskin /setskintome /setscore /kick /ban /rangeban /freeze");
    
SendClientMessage(playeridCOLOR_WHITE"/unfreeze /slap /explode /spec /specoff /givemoney /setplayerinterior /cchat /reports /reportsoff /gmx /lock");
    
SendClientMessage(playeridCOLOR_WHITE"/setplayerweather /setplayertime /tempAdmin /makeadmin /playerdata /makeaccount /renameaccount /deleteaccount");
    
SendClientMessage(playeridCOLOR_YELLOWLanguageText[150]);
    
SendClientMessage(playeridCOLOR_LIGHTRED"***************************************************************************");}
  return 
1;} 



/acmd2

PHP Code:

dcmd(acmd29cmdtext); //this is in the OnPlayerCommandText

dcmd_acmd2(playerid,params[]){
  
#pragma unused params
  
if(Account[playerid][pAdminlevel]>=1){
    
SendClientMessage(playeridCOLOR_ZADMINBLUELanguageText[152]);
    
SendClientMessage(playeridCOLOR_WHITE"/aheal /aarmour/amute /aunmute /ajail /aunjail /agivemoney /adie /adisarm /areset");
    
SendClientMessage(playeridCOLOR_WHITE"/aexplode /akick /aban /afreeze /aunfreeze /aslap /aget /agoto /asetweather /asettime");
    
SendClientMessage(playeridCOLOR_LIGHTRED"***************************************************************************");}
  return 
1;} 



Aucun commentaire:

Enregistrer un commentaire