Jump to content
  • 0

O eraore in GameMod


RenDy

Question

Nu stiu de ce imi apare aceasta eroare

C:\Users\Daniel\Desktop\BlodZ.pwn(8) : fatal error 100: cannot read from file: "JunkBuster"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

Si inca un lucru pe server cand dau /giverank zice acces denie plz ajutatima!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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

{

if(IsPlayerConnected(playerid))

{

tmp = strtok(cmdtext, idx);

if(!strlen(tmp))

{

SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /giverank [playerid/PartOfName] [Number(1-5)]");

return 1;

}

new para1;

new level;

para1 = ReturnUser(tmp);

tmp = strtok(cmdtext, idx);

level = strval(tmp);

            if(level > 5 || level < 0) { SendClientMessage(playerid, COLOR_GREY, " Dont go below number 0, or above number 5!"); return 1; }

            if(PlayerInfo[playerid][pLeader] == 1 && PlayerInfo[para1][pMember] != 1)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 2 && PlayerInfo[para1][pMember] != 2)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 3 && PlayerInfo[para1][pMember] != 3)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 4 && PlayerInfo[para1][pMember] != 4)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 5 && PlayerInfo[para1][pMember] != 5)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 6 && PlayerInfo[para1][pMember] != 6)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 7 && PlayerInfo[para1][pMember] != 7)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 8 && PlayerInfo[para1][pMember] != 8)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 9 && PlayerInfo[para1][pMember] != 9)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 10 && PlayerInfo[para1][pMember] != 10)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 11 && PlayerInfo[para1][pMember] != 11)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 12 && PlayerInfo[para1][pMember] != 12)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 13 && PlayerInfo[para1][pMember] != 13)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 14 && PlayerInfo[para1][pMember] != 14)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 15 && PlayerInfo[para1][pMember] != 15)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 16 && PlayerInfo[para1][pMember] != 16)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if(PlayerInfo[playerid][pLeader] == 17 && PlayerInfo[para1][pMember] != 17)

{

    SendClientMessage(playerid, COLOR_GRAD2, "Access denied !");

return 1;

}

if (PlayerInfo[playerid][pLeader] >= 1)

{

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), "* You have been promoted to a higher Rank by Leader %s.", sendername);

SendClientMessage(para1, COLOR_LIGHTBLUE, string);

format(string, sizeof(string), "* You have given %s Rank %d.", giveplayer,level);

SendClientMessage(playerid, COLOR_LIGHTBLUE, string);

}

}

}

else

{

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

}

}

return 1;

}

Astai comanda /giverank

si am bagat julebox la pawno in include si acu am niste erori

C:\Users\Daniel\Desktop\LSLRP\gamemodes\BlodZ.pwn(11325) : error 021: symbol already defined: "strtok"

C:\Users\Daniel\Desktop\LSLRP\gamemodes\BlodZ.pwn(11340) : error 047: array sizes do not match, or destination array is too small

C:\Users\Daniel\Desktop\LSLRP\gamemodes\BlodZ.pwn(14174) : warning 219: local variable "mod" shadows a variable at a preceding level

C:\Users\Daniel\Desktop\LSLRP\gamemodes\BlodZ.pwn(26894) : warning 217: loose indentation

C:\Users\Daniel\Desktop\LSLRP\gamemodes\BlodZ.pwn(26897) : warning 217: loose indentation

C:\Users\Daniel\Desktop\LSLRP\gamemodes\BlodZ.pwn(26900) : warning 217: loose indentation

C:\Users\Daniel\Desktop\LSLRP\gamemodes\BlodZ.pwn(26912) : warning 217: loose indentation

C:\Users\Daniel\Desktop\LSLRP\gamemodes\BlodZ.pwn(26916) : warning 217: loose indentation

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Errors.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By TheGodfather
      Salut, am un gamemode in limba romana si as vrea sa ii fac o versiune in limba engleza. Care e cea mai eficienta metoda pentru asta? Multumesc anticipat
    • By D3m0n1K
      Buna Ziua
      Cumpar GM Samp ce trebuie sa detina : Baza de Date Stabila, doresc un mod asemanator B-Hood cu buguri rezolvate in proportie de 90%, cu posibilitatea de a ridica nr playeri la 1000 slot, tutorialul de inceput 5/5 step sa fie functional alte adaugari, nu am modul de joc se va negocia, doresc sa anunt ca o sa folosim intermediar.
    • By KenSon ADV
      UserName: KenSon Nume Gamemode: HPQ B-HOOD Creator/editor: Edison, Skillz, HPQ123, KenSon Link Poze: https://imgur.com/a/KjFLKZJ Virustotal: https://www.virustotal.com/gui/file/843a2068a94b3efe1d28fb2d7e89583f830f321feed76d5bce3358f0b3ee1fe8/detection Download: https://drive.google.com/file/d/1M4C607rE2BxBegkbjUhPG8zrdtxKWkaW/view?usp=sharing Alte Precizari: 
      1. Aveti de mutat crates ( nu mai am mapping).
      2. Aveti foarte multe chestii in + pe langa poze.
      3. Aveti spawn frumos cu mapping.
      4. Foarte multe chestii modificate.
      Succes cu gm.
    • By AlexRap
      Am hotarat ca gamemode ul sa l postez eu decat sa se bage keyloggere prin el sau alte chestii aveti un link de la vanzare cu poze detalii si update uri iar in gm aveti o lista cu ce trebuie facut si n am avut eu timp : 
      Primesc mesaje de la copii de 12 ani cu nu stiu ce ca posteaza ei gm u sa va vad ce mai postati acum luati l si spalati va cu el pe cap.
      Mai bine il postez eu decat sa l posteze toti "bombardierii" de 12 ani.
       
      Si oficial m am retras din scripting pentru ca nu se mai merita si in al doilea rand sunt numai copii si nici samp ul nu mai e ce a fost.
      Va tuca rap <3.
       
      Poze aveti aici sunt putin mai vechi: https://imgur.com/a/VOMeqpe
      Link download: https://www106.zippyshare.com/v/1Wiu4u4j/file.html
    • By AndreiiGL
      Salut, caut un gamemode Godfather gen GFzone, quitzone, t4p ( 2013-2014), daca are cineva as aprecia.
       
      Daca are cineva oferte contra cost le astept.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.