Jump to content
  • 0

Exista vro comanda /levelall sau /levelupall ?


RzV

Question

1 answer to this question

Recommended Posts

//---------------------------------------------------------------<[Giveallevel]>----------------------------------------------------------------------//

    if(strcmp(cmd, "/givelevelall", true) == 0)

    {

        if (PlayerInfo[playerid][pAdmin] >= 6)

        {

          for(new i = 0; i < MAX_PLAYERS; i++)

      {

        if(IsPlayerConnected(i))

        {

          new playerlevel = PlayerInfo[pLevel];

                    PlayerInfo[pLevel] = playerlevel + 1;

                    format(string, sizeof(string), " Administrator %s gave up 1 level all players who are online",sendername);

                    SendClientMessage(i,COLOR_LIGHTGREEN,string);

        }

      }

          return 1;

    }

    else

    {

        SendClientMessage(playerid, COLOR_GRAD1, "  you are not authorized to use that command !");

    }

    }

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.