[Pomoc] Hitman

Započeo Ryan Sanchez, Januar 27, 2012, 22:01:19 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: Moja od 0
Detaljan opis problema: Problem oko Hitman tj kad kucam /makeleader 11 (za hitmane) pise da ne postooji
Dio skripte: Dole
Neke slike/video za lakse dobivanje pomoci(neobavezno):

Pogledajte samo oko Hitman,sve drugo radi, osim Hitman...




if(strcmp(cmd, "/setleader", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_DGOLD, "Koristite: /setleader [ID/Dio imena] [Id Organizacije]");
                SendClientMessage(playerid, COLOR_GOLD, "ID-evi Organizacija: 1- PD , 2- BBSR , 3- YSR, 4- GHSRT , 5- PTSR ,6- AG , 7- VG , 8- GSF , 9- BGF , 10- Predsjednik  11- Hitman");
return 1;
}
new para1;
new level;
para1 = ReturnUser(tmp);
            tmp = strtok(cmdtext, idx);
level = strval(tmp);
if(level > 10 || level < 0)
{
SendClientMessage(playerid, COLOR_DGOLD, "Nema ID Leadera ispod 0 i iznad 11. Izaberite drugi ID.");
return 1;
}
if (PlayerInfo[playerid][pAdmin] >= 1337)
{
    if(IsPlayerConnected(para1))
    {
        if(para1 != INVALID_PLAYER_ID)
        {
            new rrank[26];
if(level == 1) { rrank = "Police Department"; } //
else if(level == 2) { rrank = "Legio Sr"; } //
else if(level == 3) { rrank = "Lordz Sr"; } //
else if(level == 4) { rrank = "Legacy Sr"; } //
else if(level == 5) { rrank = "Vixens Sr"; } //
else if(level == 6) { rrank = "Aztecas Gang"; }
            else if(level == 7) { rrank = "Vagos Gang"; }
else if(level == 8) { rrank = "Grove Street Familes"; }
else if(level == 9) { rrank = "Ballas Gang"; }
else if(level == 10) { rrank = "Predsjednik"; } //
            else if(level == 11) { rrank = "Hitman"; }
else { rrank = "0 [Nista]"; }
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[para1][pLeader] = level;
format(string, sizeof(string), "LEADER INFO: Vi ste postavljeni za lidera od Administratora %s", sendername);
SendClientMessage(para1, COLOR_GOLD, string);
format(string, sizeof(string), "AdmWarn: Administrator %s je postavio %s za leadera organizacije %s.",sendername, giveplayer,rrank);
SendAdminMessage(COLOR_LIGHTRED, string);
if(level == 0) { PlayerInfo[para1][pChar] = 299; PlayerInfo[para1][pRank] = 0; PlayerInfo[para1][pMember] = 0; SetPlayerSkin(para1, 299); return 1; }
                        else if(level == 1) { PlayerInfo[para1][pChar] = 282; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 1; SetPlayerSkin(para1, 282); }//PD
else if(level == 2) { PlayerInfo[para1][pChar] = 240; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 2; SetPlayerSkin(para1, 240); }//sr blue berry 5
else if(level == 3) { PlayerInfo[para1][pChar] = 208; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 3; SetPlayerSkin(para1, 208); }//sr yelowing 3
else if(level == 4) { PlayerInfo[para1][pChar] = 242; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 4; SetPlayerSkin(para1, 242); }//sr greenhood 4
else if(level == 5) { PlayerInfo[para1][pChar] = 126; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 5; SetPlayerSkin(para1, 126); }//Sr purple town 2
else if(level == 6) { PlayerInfo[para1][pChar] = 115; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 6; SetPlayerSkin(para1, 115); }//Aztecas Gang
else if(level == 7) { PlayerInfo[para1][pChar] = 292; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 7; SetPlayerSkin(para1, 292); }//Vagosi
else if(level == 8) { PlayerInfo[para1][pChar] = 270; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 8; SetPlayerSkin(para1, 270); }//Grove Street Families
else if(level == 9) { PlayerInfo[para1][pChar] = 296; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 9; SetPlayerSkin(para1, 296); }//Ballas
else if(level == 10) { PlayerInfo[para1][pChar] = 228; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 10; SetPlayerSkin(para1, 228); }//Predsjednik
else if(level == 11) { PlayerInfo[para1][pChar] = 294; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 11; SetPlayerSkin(para1, 294); }//Hitmani
}
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "[Greška!]{FFFFFF} Nemate administrator level za koristenje ove komande!");
}
}
return 1;
}

if(strcmp(cmd, "/giverank", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_DGOLD, "Koristite: /giverank [playerid/PartOfName] [Number(1-6)]");
return 1;
}
new para1;
new level;
para1 = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
level = strval(tmp);
if(PlayerInfo[para1][pLeader] > 0)
{
    SendClientMessage(playerid, COLOR_GOLD, "LEADER INFO: Nemozete Leaderu davati Rank.");
return 1;
}
            if(level > 6 || level < 0) { SendClientMessage(playerid, COLOR_GREY, " SERVER: Organizacija ima Rank od 1 do 6."); return 1; }
            {
            if(PlayerInfo[playerid][pLeader] == 1 && PlayerInfo[para1][pMember] != 1)
{
    SendClientMessage(playerid, COLOR_GOLD, "LEADER INFO: Nemozete dati rank igracu koji nije u vasoj organizaciji.");
return 1;
}
            if(PlayerInfo[playerid][pLeader] == 2 && PlayerInfo[para1][pMember] != 2)
{
    SendClientMessage(playerid, COLOR_GOLD, "LEADER INFO: Nemozete dati rank igracu koji nije u vasoj organizaciji.");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 3 && PlayerInfo[para1][pMember] != 3)
{
    SendClientMessage(playerid, COLOR_GOLD, "LEADER INFO: Nemozete dati rank igracu koji nije u vasoj organizaciji.");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 4 && PlayerInfo[para1][pMember] != 4)
{
    SendClientMessage(playerid, COLOR_GOLD, "LEADER INFO: Nemozete dati rank igracu koji nije u vasoj organizaciji.");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 5 && PlayerInfo[para1][pMember] != 5)
{
    SendClientMessage(playerid, COLOR_GOLD, "LEADER INFO: Nemozete dati rank igracu koji nije u vasoj organizaciji.");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 6 && PlayerInfo[para1][pMember] != 6)
{
    SendClientMessage(playerid, COLOR_GOLD, "LEADER INFO: Nemozete dati rank igracu koji nije u vasoj organizaciji.");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 7 && PlayerInfo[para1][pMember] != 7)
{
    SendClientMessage(playerid, COLOR_GOLD, "LEADER INFO: Nemozete dati rank igracu koji nije u vasoj organizaciji.");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 8 && PlayerInfo[para1][pMember] != 8)
{
    SendClientMessage(playerid, COLOR_GOLD, "LEADER INFO: Nemozete dati rank igracu koji nije u vasoj organizaciji.");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 9 && PlayerInfo[para1][pMember] != 9)
{
    SendClientMessage(playerid, COLOR_GOLD, "LEADER INFO: Nemozete dati rank igracu koji nije u vasoj organizaciji.");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 11 && PlayerInfo[para1][pMember] != 11)
{
    SendClientMessage(playerid, COLOR_GOLD, "LEADER INFO: Nemozete dati rank igracu koji nije u vasoj organizaciji.");
return 1;
}
if (PlayerInfo[playerid][pLeader] >= 1 || PlayerInfo[playerid][pLeader] <= 9)
{
if(IsPlayerConnected(para1))
{
if(para1 != INVALID_PLAYER_ID)
{
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[para1][pRank] = level;
format(string, sizeof(string), "ORG INFO: Dobili ste rank %d od strane lidera %s.", level, sendername);
    SendClientMessage(para1, COLOR_GOLD, string);
format(string, sizeof(string), "LEADER INFO: Dali ste rank %d clanu %s.", level, giveplayer);
SendClientMessage(playerid, COLOR_GOLD, string);
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
if(PlayerInfo[para1][pSex] == 1)//pd
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 284; SetPlayerSkin(para1, 284); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 284; SetPlayerSkin(para1, 284); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 280; SetPlayerSkin(para1, 280); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 280; SetPlayerSkin(para1, 280); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 281; SetPlayerSkin(para1, 281); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 281; SetPlayerSkin(para1, 281); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) //BB Street Racer's
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 50; SetPlayerSkin(para1, 50); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 50; SetPlayerSkin(para1, 50); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 29; SetPlayerSkin(para1, 29); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 29; SetPlayerSkin(para1, 29); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 217; SetPlayerSkin(para1, 217); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 217; SetPlayerSkin(para1, 217); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)//Y Street Racer's
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 59; SetPlayerSkin(para1, 59); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 59; SetPlayerSkin(para1, 59); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 120; SetPlayerSkin(para1, 120); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 120; SetPlayerSkin(para1, 120); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 186; SetPlayerSkin(para1, 186); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 186; SetPlayerSkin(para1, 186); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//GH Street Racer's
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 122; SetPlayerSkin(para1, 122); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 122; SetPlayerSkin(para1, 122); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 101; SetPlayerSkin(para1, 101); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 101; SetPlayerSkin(para1, 101); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 241; SetPlayerSkin(para1, 241); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 241; SetPlayerSkin(para1, 241); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//PT Street Racer's
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 179; SetPlayerSkin(para1, 179); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 179; SetPlayerSkin(para1, 179); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 206; SetPlayerSkin(para1, 206); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 206; SetPlayerSkin(para1, 206); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 202; SetPlayerSkin(para1, 202); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 202; SetPlayerSkin(para1, 202); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) //Aztecas Gang
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 116; SetPlayerSkin(para1, 116); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 116; SetPlayerSkin(para1, 116); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 114; SetPlayerSkin(para1, 114); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 114; SetPlayerSkin(para1, 114); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 115; SetPlayerSkin(para1, 293); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 115; SetPlayerSkin(para1, 293); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 41; SetPlayerSkin(para1, 41);
}
}
else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)//Vagos Gang
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 108; SetPlayerSkin(para1, 108); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 108; SetPlayerSkin(para1, 108); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 109; SetPlayerSkin(para1, 109); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 109; SetPlayerSkin(para1, 109); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 110; SetPlayerSkin(para1, 110); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 110; SetPlayerSkin(para1, 110); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)//Grove Street Families
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 107; SetPlayerSkin(para1, 107); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 107; SetPlayerSkin(para1, 107); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 105; SetPlayerSkin(para1, 105); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 105; SetPlayerSkin(para1, 105); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 106; SetPlayerSkin(para1, 106); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 106; SetPlayerSkin(para1, 106); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)//Ballas Gang
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 102; SetPlayerSkin(para1, 102); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 102; SetPlayerSkin(para1, 102); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 103; SetPlayerSkin(para1, 103); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 103; SetPlayerSkin(para1, 103); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 104; SetPlayerSkin(para1, 104); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 104; SetPlayerSkin(para1, 104); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}

                        else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)//Hitman Agency
{
if(PlayerInfo[para1][pSex] == 1)
{
//Male Skin
if(PlayerInfo[para1][pRank] == 1) { PlayerInfo[para1][pChar] = 163; SetPlayerSkin(para1, 112); }
else if(PlayerInfo[para1][pRank] == 2) { PlayerInfo[para1][pChar] = 112; SetPlayerSkin(para1, 112); }
else if(PlayerInfo[para1][pRank] == 3) { PlayerInfo[para1][pChar] = 127; SetPlayerSkin(para1, 127); }
else if(PlayerInfo[para1][pRank] == 4) { PlayerInfo[para1][pChar] = 127; SetPlayerSkin(para1, 127); }
else if(PlayerInfo[para1][pRank] == 5) { PlayerInfo[para1][pChar] = 166; SetPlayerSkin(para1, 166); }
else if(PlayerInfo[para1][pRank] == 6) { PlayerInfo[para1][pChar] = 166; SetPlayerSkin(para1, 166); }
}
else if(PlayerInfo[para1][pSex] == 2)
{
PlayerInfo[para1][pChar] = 211; SetPlayerSkin(para1, 211);
}
}
}
}

Kod (Pr0 :)) [Izaberi]
if(strcmp(cmd, "/setleader", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_DGOLD, "Koristite: /setleader [ID/Dio imena] [Id Organizacije]");
                SendClientMessage(playerid, COLOR_GOLD, "ID-evi Organizacija: 1- PD , 2- BBSR , 3- YSR, 4- GHSRT , 5- PTSR ,6- AG , 7- VG , 8- GSF , 9- BGF , 10- Predsjednik  11- Hitman");
return 1;
}
new para1;
new level;
para1 = ReturnUser(tmp);
            tmp = strtok(cmdtext, idx);
level = strval(tmp);
if(level > 11 || level < 0)
{
SendClientMessage(playerid, COLOR_DGOLD, "Nema ID Leadera ispod 0 i iznad 11. Izaberite drugi ID.");
return 1;
}
if (PlayerInfo[playerid][pAdmin] >= 1337)
{
    if(IsPlayerConnected(para1))
    {
        if(para1 != INVALID_PLAYER_ID)
        {
            new rrank[26];
if(level == 1) { rrank = "Police Department"; } //
else if(level == 2) { rrank = "Legio Sr"; } //
else if(level == 3) { rrank = "Lordz Sr"; } //
else if(level == 4) { rrank = "Legacy Sr"; } //
else if(level == 5) { rrank = "Vixens Sr"; } //
else if(level == 6) { rrank = "Aztecas Gang"; }
            else if(level == 7) { rrank = "Vagos Gang"; }
else if(level == 8) { rrank = "Grove Street Familes"; }
else if(level == 9) { rrank = "Ballas Gang"; }
else if(level == 10) { rrank = "Predsjednik"; } //
            else if(level == 11) { rrank = "Hitman"; }
else { rrank = "0 [Nista]"; }
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[para1][pLeader] = level;
format(string, sizeof(string), "LEADER INFO: Vi ste postavljeni za lidera od Administratora %s", sendername);
SendClientMessage(para1, COLOR_GOLD, string);
format(string, sizeof(string), "AdmWarn: Administrator %s je postavio %s za leadera organizacije %s.",sendername, giveplayer,rrank);
SendAdminMessage(COLOR_LIGHTRED, string);
if(level == 0) { PlayerInfo[para1][pChar] = 299; PlayerInfo[para1][pRank] = 0; PlayerInfo[para1][pMember] = 0; SetPlayerSkin(para1, 299); return 1; }
                        else if(level == 1) { PlayerInfo[para1][pChar] = 282; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 1; SetPlayerSkin(para1, 282); }//PD
else if(level == 2) { PlayerInfo[para1][pChar] = 240; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 2; SetPlayerSkin(para1, 240); }//sr blue berry 5
else if(level == 3) { PlayerInfo[para1][pChar] = 208; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 3; SetPlayerSkin(para1, 208); }//sr yelowing 3
else if(level == 4) { PlayerInfo[para1][pChar] = 242; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 4; SetPlayerSkin(para1, 242); }//sr greenhood 4
else if(level == 5) { PlayerInfo[para1][pChar] = 126; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 5; SetPlayerSkin(para1, 126); }//Sr purple town 2
else if(level == 6) { PlayerInfo[para1][pChar] = 115; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 6; SetPlayerSkin(para1, 115); }//Aztecas Gang
else if(level == 7) { PlayerInfo[para1][pChar] = 292; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 7; SetPlayerSkin(para1, 292); }//Vagosi
else if(level == 8) { PlayerInfo[para1][pChar] = 270; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 8; SetPlayerSkin(para1, 270); }//Grove Street Families
else if(level == 9) { PlayerInfo[para1][pChar] = 296; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 9; SetPlayerSkin(para1, 296); }//Ballas
else if(level == 10) { PlayerInfo[para1][pChar] = 228; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 10; SetPlayerSkin(para1, 228); }//Predsjednik
else if(level == 11) { PlayerInfo[para1][pChar] = 294; PlayerInfo[para1][pRank] = 6; PlayerInfo[para1][pMember] = 11; SetPlayerSkin(para1, 294); }//Hitmani
}
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "[Greška!]{FFFFFF} Nemate administrator level za koristenje ove komande!");
}
}
return 1;
}

Run time error 17: "Invalid/unsupporteed P-code file format"
Failed to load "gamemods


Sta je sad ovo, emogu compile i odma nemore ni ovo. Izbaci mi nesto kad hocu compile