Pomoc oko skripte

Započeo dzelo123, Novembar 17, 2021, 04:18:28 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Pravio sam nesto oko G chata i izaslo mi je slijedece:




C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(3570) : warning 217: loose indentation
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(25437) : warning 217: loose indentation
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32082) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32082) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32083) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32083) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32084) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32084) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32085) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32085) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32086) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32086) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32087) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32087) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32088) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32088) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32089) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32089) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32090) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32090) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32091) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32091) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32092) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32092) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32093) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32093) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32094) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32094) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32095) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32095) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32096) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32096) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32097) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32097) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32098) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32098) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32099) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32099) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32100) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32100) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32101) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32101) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32102) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32102) : warning 215: expression has no effect
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(32103) : error 017: undefined symbol "arank"
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(43887) : warning 217: loose indentation
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(56967) : warning 217: loose indentation
C:\Users\Dzelo\Desktop\folder\EG v2.3\gamemodes\najjaci.pwn(56969) : warning 217: loose indentation
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


22 Errors.










SKRIPTA:









YCMD:ga(playerid, params[],help)
{
    #pragma unused help
    if(UlogovanProvera[playerid] == 0) return nisiulogovan(playerid);
    if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGM] >= 1 || PlayerInfo[playerid][pImunitet] >= 1 || PlayerInfo[playerid][pVlasnik] >= 2)
   {
   if(PlayerInfo[playerid][pZatvor] != 0) return SCM(playerid,-1,"[P:RPG] | "SPLAVA"Ne mozete koristiti ovu komandu jer ste zatvoreni!");
   //if((gachat)) return SCM(playerid, -1, ""SPLAVA"[P:RPG] "BELA"GA (Supporter & SpecTeam) chat je iskljucen,ne mozes to!");
   new text[256], string[128], sendername[MAX_PLAYER_NAME];
   GetPlayerName(playerid, sendername, sizeof(sendername));
   if(sscanf(params, "s[1024]", text)) return SCM(playerid, -1, ""CRVENA"[P:RPG] Pomoc | "SIVA" /ga [tekst]");
   new arank[124];
   if(PlayerInfo[playerid][pAdmin] == 1) { arank = "Admin Level 1"; }
   else if(PlayerInfo[playerid][pAdmin] == 2) { arank = "Admin Level 2"; }
   else if(PlayerInfo[playerid][pAdmin] == 3) { arank = "Admin Level 3"; }
   else if(PlayerInfo[playerid][pAdmin] == 4) { arank = "Admin Level 4"; }
   else if(PlayerInfo[playerid][pAdmin] == 5) { arank = "Admin Level 5 (Head-Admin)"; }
   else if(PlayerInfo[playerid][pSkripter] == 2) { arank = "Skripter"; }
   else if(PlayerInfo[playerid][pVlasnik] == 1) { arank = "Vlasnik"; }
   else if(PlayerInfo[playerid][pAdmin] == 6) { arank = "Direktor"; }
   else if(PlayerInfo[playerid][pGM] == 1) { arank = "Supporter Level 1"; }
   else if(PlayerInfo[playerid][pGM] == 2) { arank = "Supporter Level 2"; }
   else if(PlayerInfo[playerid][pImunitet] == 1) { arank = "Spec Team"; }
   else if(!strcmp(GetName(playerid), "Lamborgini", true)) { arank = "Skripter"; }
   else if(PlayerInfo[playerid][pMaper] == 1) { arank = "Maper"; }
   else { arank = "Admin"; }
   format(string, sizeof(string), "{157DEC}•-GA-• "BELA"%s {157DEC}%s"BELA": %s",arank,sendername,text);
   AdminSupporterSpec(-1,string);
   return 1;
   }
   return 1;
}