[Ajuda] Como fazer esse comando jogar todos player do Sv longe?
#1

Код:
if (!strcmp(cmdtext, "/voem", true))
      {
        static
        Interator;
        Interator = GetMaxPlayers();
        for (; Interator > -1; --Interator)
        {
          if (IsPlayerConnected(Interator))
          {
            SetPlayerHealth(Interator, 35);
            new Float: P_Pos[3];
            CreateExplosion(P_Pos[0], P_Pos[1], P_Pos[2], 7, 10.0);
             new Float:X,Float:Y,Float:Z;
        CreateExplosion(X, Y, Z, 7, 10);
        CreateExplosion(X, Y, Z+3, 7, 10);
        CreateExplosion(X, Y, Z+6, 7, 10);
        CreateExplosion(X, Y, Z+9, 7, 10);
        CreateExplosion(X, Y, Z+12, 7, 10);
        CreateExplosion(X, Y, Z+15, 7, 10);
        CreateExplosion(X, Y, Z+18, 7, 10);
        CreateExplosion(X, Y, Z+21, 7, 10);
        CreateExplosion(X, Y+7, Z+21, 7, 10);
        CreateExplosion(X, Y-7, Z+21, 7, 10);
        CreateExplosion(X+7, Y, Z+21, 7, 10);
        CreateExplosion(X-7, Y, Z+21, 7, 10);
        CreateExplosion(X, Y, Z+24, 7, 10);
        CreateExplosion(X, Y+10, Z+24, 7, 10);
        CreateExplosion(X, Y-10, Z+24, 7, 10);
        CreateExplosion(X+10, Y, Z+24, 7, 10);
        CreateExplosion(X-10, Y, Z+24, 7, 10);
        CreateExplosion(X, Y, Z+27, 7, 10);
        CreateExplosion(X, Y+7, Z+27, 7, 10);
        CreateExplosion(X, Y-7, Z+27, 7, 10);
        CreateExplosion(X+7, Y, Z+27, 7, 10);
        CreateExplosion(X-7, Y, Z+27, 7, 10);
        CreateExplosion(X, Y, Z+30, 7, 10);
        CreateExplosion(X, Y+3, Z+30, 7, 10);
        CreateExplosion(X, Y-3, Z+30, 7, 10);
        CreateExplosion(X+3, Y, Z+30, 7, 10);
        CreateExplosion(X-3, Y, Z+30, 7, 10);
            new Float: x,
            Float: y,
            Float: z;
            GetPlayerPos(playerid, x, y, z);
            SetPlayerPos(playerid, x, y, z + 100);
          }
        }
        SendClientMessageToAll(-1, "Conheзa A dor=='!! Voemmm!! ");
        SetPlayerHealth(playerid, 65.0);
        return true;
      }




Tipo queria que vcs editaзem esse comando na hora que o cara usar /voam todos do sv,Voariam longee, como fosse um tapa para frente em todo mundo do serve.Se for Possivel agradeзo muito
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)