Jump to content
  • 0

Ajutor Compilare!


Cristian Nemes

Question

Am niste errori la compilare si nu stiu exact ce sa le fac..link mai jos cu ce am.
Link Errori: https://pastebin.com/yDaEauRK
Link la codul respectiv unde apar errori (am scris in cod "(AICI ESTE ERROAREA X)":  https://pastebin.com/ERRLXBpRhttps://pastebin.com/ubgNWEad
Compilez cu Sublime Text si l am facut dupa tutorialul lui Edison..n am avut probleme pana sa iau acest gm si da, folosesc includeurile care vin din gamemode.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Salut @Cristian Nemes,

Warningul "loose indentation" inseamna ca liniile tale de cod nu sunt aranjate in spatii egale cu cele din alte linii de cod. Un exemplu care genereaza aceast warning este urmatorul:

if(Variabila[playerid] == 1) {
	SendClientMessage(playerid, -1, "Ceva");
		Variabila[playerid] = 2; // LINIA CARE GENEREAZA EROARE, NU ESTE IN RAND CU MESAJUL DE MAI SUS SI VARIABILA DE MAI JOS
	Variabila_altceva[playerid] = 1;
}

Deci, pentru a scapa de eroare, codul va arata in felul urmator:

if(Variabila[playerid] == 1) {
	SendClientMessage(playerid, -1, "Ceva");
	Variabila[playerid] = 2;
	Variabila_altceva[playerid] = 1;
}

Aici ai scriptul tau aranjat: https://pastebin.com/iQ4dVP41

Ai grija sa fie in linie cu restul de script din gm-ul tau.

Edited by shane
  • Like 1

Daca te-am ajutat =>

spacer.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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