Poruke

Započeo [][] Foxy 2k19 [][], Jul 03, 2019, 12:44:35 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): Eh, ovako. Ja sam video bug kod AdminGameMasterSpec koristim SA mod editan, poruku umesto a/gm izbaci svim igracima.
Deo skripte: Evo sta sam sve radio: [pawn]/*forward AdminGameMasterSpec(color, string[]);
public AdminGameMasterSpec(color, string[])
{
   foreach(Player,i)
   {
       if(UlogovanProvera == 1)
      {
         if(PlayerInfo[pGM] >= 1|| PlayerInfo[pAdmin] >= 1 ||  PlayerInfo[pVlasnik] == 2)
         {
             {
               SendClientMessage(i, color, string);
            }
         }
      }
   }
}
stock AdminGameMasterSpec(color, string[]);
{
   foreach(Player,i)
   {
       if(UlogovanProvera == 1)
       {
           if(PlayerInfo[pGM] >= 1 || PlayerInfo[pAdmin] >= 1 || PlayerInfo[pVlasnik] == 2)
           {
               {
                   SendClientMessage(i, color, string);
            }
         }
      }
   }
}*/
forward AdminGameMasterSpec(color, string[]);
public AdminGameMasterSpec(color, string[])
{
    foreach(Player,i)
   {
      if(UlogovanProvera == 1 && (PlayerInfo[pGM] >= 1 || PlayerInfo[pAdmin] >= 1 || PlayerInfo[pImunitet] >= 1))
      {
         SendClientMessage(i, color, string);
      }
   }
}

forward AdminGameMasterSpecVip(color, string[]);
public AdminGameMasterSpecVip(color, string[])
{
   foreach(Player,i)
   {
       if(UlogovanProvera == 1)
      {
         if(PlayerInfo[pGM] >= 1|| PlayerInfo[pAdmin] >= 1 || PlayerInfo[pVip] >= 1 || PlayerInfo[pImunitet] >= 1 || PlayerInfo[pVlasnik] == 2)
         {
            if(TogGChat == 0)
             {
               SendClientMessage(i, color, string);
            }
         }
      }
   }
}[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): Ne znam sta da radim sve sam pokusavao.
Slika/video ingame problema(obavezno ako je ingame problem): //
Ko moze nek pomogne, hvala unapred.
Balkan Moon v1.0 by Foxy

Owner // Scripter Balkan Moon

u Potpisu Foxy.

Ne pipaj lava Foxy, radi na BM-u :D :D :D
[4.7.2019] Respect For: Purda | Basovski | Mister Naithan | BICEL KO MI BUNTA | 7.9: Vasic[/b]

* Server [5.1.2019 Created]
* Scripter on Power Gaming
* Scripter on Night Life
* Scripter on Arena Gaming
* Scripter on duty (Balkan Moon)

[23.5.2k19] Messi u skriptanju hehe ;)
[7.8.2k19]OLD Minecraft Developer & Player (2016-2018)

#FOXYSCRIPT[/b]
MAPPER U POKUŠAJU :/[/b]

[pawn]
forward AdminGameMaster(color, string[]);
public AdminGameMaster(color, string[])
{
    foreach(new i: Player)
       {
             if(PI[xSupporter] >= 1 || PI[xAdmin] >= 1)
              {
                     SendClientMessage(i, color, string);
              }
       }
       return 1;
}

CMD:admini(playerid, params[]) {
       AdminGameMaster(-1, "Vidis da radi????");
       return 1;
}
[/pawn]

Naravno mozes i staviti primer AdminGameMaster(-1, "%s, %d", ImeIgraca(playerid), playerid);
Ali kako hoces, izvoli to gore, testirao sam, radi..

Ja znadem sta se pokvarilo


Citat: y_Dev poslato Jul 03, 2019, 15:05:40 POSLE PODNE
[pawn]
forward AdminGameMaster(color, string[]);
public AdminGameMaster(color, string[])
{
    foreach(new i: Player)
       {
             if(PI[xSupporter] >= 1 || PI[xAdmin] >= 1)
              {
                     SendClientMessage(i, color, string);
              }
       }
       return 1;
}

CMD:admini(playerid, params[]) {
       AdminGameMaster(-1, "Vidis da radi????");
       return 1;
}
[/pawn]

Naravno mozes i staviti primer AdminGameMaster(-1, "%s, %d", ImeIgraca(playerid), playerid);
Ali kako hoces, izvoli to gore, testirao sam, radi..
Hvala ti buraz, pomogao si mi javljam ako radi.
Citat: 002 poslato Jul 03, 2019, 15:05:40 POSLE PODNE
Spameru jedan xD
Balkan Moon v1.0 by Foxy

Owner // Scripter Balkan Moon

u Potpisu Foxy.

Ne pipaj lava Foxy, radi na BM-u :D :D :D
[4.7.2019] Respect For: Purda | Basovski | Mister Naithan | BICEL KO MI BUNTA | 7.9: Vasic[/b]

* Server [5.1.2019 Created]
* Scripter on Power Gaming
* Scripter on Night Life
* Scripter on Arena Gaming
* Scripter on duty (Balkan Moon)

[23.5.2k19] Messi u skriptanju hehe ;)
[7.8.2k19]OLD Minecraft Developer & Player (2016-2018)

#FOXYSCRIPT[/b]
MAPPER U POKUŠAJU :/[/b]

Ja znam da je fixano  8)




Give Honor To The One Who Deserve It





Citat: y_Dev poslato Jul 03, 2019, 15:05:40 POSLE PODNE
[pawn]
forward AdminGameMaster(color, string[]);
public AdminGameMaster(color, string[])
{
    foreach(new i: Player)
       {
             if(PI[xSupporter] >= 1 || PI[xAdmin] >= 1)
              {
                     SendClientMessage(i, color, string);
              }
       }
       return 1;
}

CMD:admini(playerid, params[]) {
       AdminGameMaster(-1, "Vidis da radi????");
       return 1;
}
[/pawn]

Naravno mozes i staviti primer AdminGameMaster(-1, "%s, %d", ImeIgraca(playerid), playerid);
Ali kako hoces, izvoli to gore, testirao sam, radi..
Meni radi uklonio sam 1 warning to je da pomerim return 1; malo u levo, ali sve jedno udjem ingame ne radi niti tab niti nista, do mene nije??
Balkan Moon v1.0 by Foxy

Owner // Scripter Balkan Moon

u Potpisu Foxy.

Ne pipaj lava Foxy, radi na BM-u :D :D :D
[4.7.2019] Respect For: Purda | Basovski | Mister Naithan | BICEL KO MI BUNTA | 7.9: Vasic[/b]

* Server [5.1.2019 Created]
* Scripter on Power Gaming
* Scripter on Night Life
* Scripter on Arena Gaming
* Scripter on duty (Balkan Moon)

[23.5.2k19] Messi u skriptanju hehe ;)
[7.8.2k19]OLD Minecraft Developer & Player (2016-2018)

#FOXYSCRIPT[/b]
MAPPER U POKUŠAJU :/[/b]

Bump, neko da pomogne ljudovi? :D
Balkan Moon v1.0 by Foxy

Owner // Scripter Balkan Moon

u Potpisu Foxy.

Ne pipaj lava Foxy, radi na BM-u :D :D :D
[4.7.2019] Respect For: Purda | Basovski | Mister Naithan | BICEL KO MI BUNTA | 7.9: Vasic[/b]

* Server [5.1.2019 Created]
* Scripter on Power Gaming
* Scripter on Night Life
* Scripter on Arena Gaming
* Scripter on duty (Balkan Moon)

[23.5.2k19] Messi u skriptanju hehe ;)
[7.8.2k19]OLD Minecraft Developer & Player (2016-2018)

#FOXYSCRIPT[/b]
MAPPER U POKUŠAJU :/[/b]

pa uradi debug receno ti je

Nije reseno, postaivcu nekad ponovo, ili cu sam pokusati da resimo, hvala ko je komentarisao.
Balkan Moon v1.0 by Foxy

Owner // Scripter Balkan Moon

u Potpisu Foxy.

Ne pipaj lava Foxy, radi na BM-u :D :D :D
[4.7.2019] Respect For: Purda | Basovski | Mister Naithan | BICEL KO MI BUNTA | 7.9: Vasic[/b]

* Server [5.1.2019 Created]
* Scripter on Power Gaming
* Scripter on Night Life
* Scripter on Arena Gaming
* Scripter on duty (Balkan Moon)

[23.5.2k19] Messi u skriptanju hehe ;)
[7.8.2k19]OLD Minecraft Developer & Player (2016-2018)

#FOXYSCRIPT[/b]
MAPPER U POKUŠAJU :/[/b]