Jump to content
  • 0

Ajutor :((


Alexandru

Question

Pai imi da o eroare uitati erorile:

[pawn]C:\Users\aLex\Desktop\Hard2Games Bacau\gamemodes\misiuni.pwn(55) : warning 217: loose indentation

C:\Users\aLex\Desktop\Hard2Games Bacau\gamemodes\misiuni.pwn(69) : error 017: undefined symbol "PlayerMissioned"

C:\Users\aLex\Desktop\Hard2Games Bacau\gamemodes\misiuni.pwn(69) : warning 215: expression has no effect

C:\Users\aLex\Desktop\Hard2Games Bacau\gamemodes\misiuni.pwn(69) : error 001: expected token: ";", but found "]"

C:\Users\aLex\Desktop\Hard2Games Bacau\gamemodes\misiuni.pwn(69) : error 029: invalid expression, assumed zero

C:\Users\aLex\Desktop\Hard2Games Bacau\gamemodes\misiuni.pwn(69) : fatal error 107: too many error messages on one line

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

4 Errors.

[/pawn]

Liniile:

[pawn]public OnPlayerCommandText(playerid, cmdtext[])

{

  new cmd[6];

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

    {

        if(IsPlayerConnected(playerid))

        {

        if(!PlayerToPoint(3.0,playerid,1381.0413,-1088.8511,27.3906))

        {

            SCM(playerid, 0xC0C0C0FF, "  You are not at the Bill Board !");

            return 1;

        }

        if(PlayerMissioned[playerid] == -1)

        {

                SendClientMessage(playerid,0x3399FFFF,"Poti face misiunea o data la 3 ore!");

                return 1;

            }

            ShowPlayerDialog(playerid,998,DIALOG_STYLE_LIST,""0x3399FFFF"Misiuni","1.Easy \n2.Medium \n3.Hard \n4.Expert","Alege","Iesi");

      }

        SetTimerEx("ResetMission", 1080000, 0, "d", playerid);

        PlayerMissioned[playerid] = -1;

return 1;

}

return 0;

}[/pawn]

Aici codu unde imi da eroarea aforisita...

[pawn]        if(PlayerMissioned[playerid] == -1)  /* Aici imi da eroarea */

        {

                SendClientMessage(playerid,0x3399FFFF,"Poti face misiunea o data la 3 ore!");

                return 1;

            }[/pawn]

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Salut, te ajut cu ce stiu:

Aia cu loose indentation: inseamna ca trebuie aranjat scriptu, ai uitat sa inchizi o paranteza sau ceva de genu, mai aranjeaza prin script.

too many error messages on one line: inseamna ca mesaj-ul scris este prea mare, probabil la 0x3399FFFF"Misiuni","1.Easy \n2.Medium \n3.Hard \n4.Expert","Alege","Iesi" este problema, este prea mare.

Restu poate fi de la PlayerMissioned, cu atat te pot ajuta.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.