Jump to content
  • 0

Question

Posted

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 

2 answers to this question

Recommended Posts

  • 0
Posted

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..

  • 0
Posted
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?

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.