Jump to content
  • 0

Comanda /ah


OldeR

Question

CMD:ah(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
        SendClientMessage(playerid, COLOR_GREEN,"Admin Commands:");
        if (PlayerInfo[playerid][pAdmin] >= 1)
        {
            SendClientMessage(playerid, COLOR_GRAD1, "*Admin Level 1: /a /ban (ban pe cont) /banex (ban pe zile) /bano (ban offline) /kick /mute /unmute /check /warn");
            SendClientMessage(playerid, COLOR_GRAD2, "*Admin Level 1: /spawn /clearchat(/cc) /ban /goback /spec /specoff /setvw /freeze /unfreeze /togiplog /gotocars");
            SendClientMessage(playerid, COLOR_GRAD2, "*Admin Level 1: /slap /up /down /unmute /getip /aimtest /togfind /banex /bano /ajailo /managearea /rveh /setjob");
            SendClientMessage(playerid, COLOR_GRAD2, "*Admin Level 1: /gotols /gotosf /gotolv /placegotoevent /count /fastevent /goto /cc /bigears /rveh /gotom");
            SendClientMessage(playerid, COLOR_GRAD2, "*Admin Level 1: /o /disarm /ajail /ajailo /checkweapons /togfind /aduty /nre /nmute /viewnewbie /startbet /betwinner /showdamage");
        }
        if (PlayerInfo[playerid][pAdmin] >= 2)
        {
            SendClientMessage(playerid, COLOR_GRAD1,"*Admin Level 2: /skydive /sban /gotods /jetpack /nos /fixveh /areaheal /areadisarm /areagun /areafreeze /areaunfreeze");
            SendClientMessage(playerid, COLOR_GRAD2,"*Admin Level 2: /unprison /checkgun /checkvhp /cam /putplayerinvehicle");
        }
        if (PlayerInfo[playerid][pAdmin] >= 3)
        {
            SendClientMessage(playerid, COLOR_GRAD1,"*Admin Level 3: /hc /gotomark /gethere /getcar /gotoin /startgungame /rac /setint /setvw");
            SendClientMessage(playerid, COLOR_GRAD2,"*Admin Level 3: /mark /gotomark /gotolv /gotosf /gethere /oldcar /gotocar /getcar");
        }
        if (PlayerInfo[playerid][pAdmin] >= 4)
        {
            SendClientMessage(playerid, COLOR_GRAD1,"*Admin Level 4: /lwarn /lunwarn /fuelcars /temporarskin /unbanip /unban /auninivite/fixveh /givegun /sethp /setarmor /unwarn");
            SendClientMessage(playerid, COLOR_GRAD2,"*Admin Level 4: /fixveh /givegun /forceskin /setfamily /setjob /weatherall /skick");
        }
        if (PlayerInfo[playerid][pAdmin] >= 5)
        {
            SendClientMessage(playerid, COLOR_GRAD1,"*Admin Level 5: /makeleader /makehelper /maxmembers /agl /setname /tod /givemoney /money /asellhouse /asellbiz /sellsbiz");
            SendClientMessage(playerid, COLOR_GRAD2,"*Admin Level 5: /setskin /givemoney /money(sets money) /bank /giveallmoney /unwarn /setpremium /removepremium /setleader /hprice");
        }
        if (PlayerInfo[playerid][pAdmin] >= 6)
        {
            SendClientMessage(playerid, COLOR_GRAD1,"*Admin Level 6: /restartgame /edit /togkickafk /serverpass /servername /spawncar /removeallspawncar /makeadmin /resethelp");
            SendClientMessage(playerid, COLOR_GRAD1,"*Admin Level 6: /setcar /checkspawncar /removespawncarid /forcepaintballstop /fixpaintball /setpp /kickall /activatebonus /activategift");
        }
    }
    else
     {
          SendClientMessage(playerid, COLOR_WHITE, AdminOnly);
          return 1;
     }
     return 1;
}

Vreau sa fac pana la admin 7   ,  adica cand dau /admins sa imi apare si gradul 7 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Pe bune????????.......

 

if (PlayerInfo[playerid][pAdmin] >= 7)
        {
            SendClientMessage(playerid, COLOR_GRAD1,"*Admin Level 7: Comenzi...");
            SendClientMessage(playerid, COLOR_GRAD1,"*Admin Level 7: Mai multe comenzi...");
        }

offtopic: mi-am stricat cele 69 de posturi cu raspunsul asta..

Link to comment
Share on other sites

  • 0
Acum 13 minute, CritteR a spus:

Pe bune????????.......

 

if (PlayerInfo[playerid][pAdmin] >= 7)
        {
            SendClientMessage(playerid, COLOR_GRAD1,"*Admin Level 7: Comenzi...");
            SendClientMessage(playerid, COLOR_GRAD1,"*Admin Level 7: Mai multe comenzi...");
        }

offtopic: mi-am stricat cele 69 de posturi cu raspunsul asta..

mersi man imi dadea o eroare si vad ca acum merge , dar ma poti ajuta cu o problema serioasa?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.