Warning


Započeo Fr0z3n, Mart 04, 2020, 21:44:17 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): warning 217: loose indentation ne radi pragma tabsize 0
Dio skripte:
YCMD:tdoff(playerid, params[], help)
{
        TextDrawHideForPlayer(playerid, Ingame_gTD[0]);
        TextDrawHideForPlayer(playerid, Ingame_gTD[1]);
        TextDrawHideForPlayer(playerid, Ingame_gTD[2]);
        TextDrawHideForPlayer(playerid, Ingame_gTD[3]);
        TextDrawHideForPlayer(playerid, Ingame_gTD[4]);
        TextDrawHideForPlayer(playerid, Ingame_gTD[5]);
        TextDrawHideForPlayer(playerid, Ingame_gTD[6]);
        TextDrawHideForPlayer(playerid, Ingame_gTD[7]);
        TextDrawHideForPlayer(playerid, Ingame_gTD[8]);


	return true;
}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): /

Probaj sad

YCMD:tdoff(playerid, params[], help)
{
	TextDrawHideForPlayer(playerid, Ingame_gTD[0]);
	TextDrawHideForPlayer(playerid, Ingame_gTD[1]);
	TextDrawHideForPlayer(playerid, Ingame_gTD[2]);
	TextDrawHideForPlayer(playerid, Ingame_gTD[3]);
	TextDrawHideForPlayer(playerid, Ingame_gTD[4]);
    TextDrawHideForPlayer(playerid, Ingame_gTD[5]);
	TextDrawHideForPlayer(playerid, Ingame_gTD[6]);
	TextDrawHideForPlayer(playerid, Ingame_gTD[7]);
	TextDrawHideForPlayer(playerid, Ingame_gTD[8]);
	return 1;
}

Rdilo mi je samo za taj jedan a ovaj sam isto promenio i nece da fixa
YCMD:tdon(playerid, params[], help)
{
        TextDrawShowForPlayer(playerid, Ingame_gTD[0]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[1]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[2]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[3]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[4]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[5]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[6]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[7]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[8]);

	return 1;
}

Citat: Fr0z3n poslato Mart 04, 2020, 22:49:39 POSLE PODNE
Rdilo mi je samo za taj jedan a ovaj sam isto promenio i nece da fixa
YCMD:tdon(playerid, params[], help)
{
        TextDrawShowForPlayer(playerid, Ingame_gTD[0]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[1]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[2]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[3]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[4]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[5]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[6]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[7]);
        TextDrawShowForPlayer(playerid, Ingame_gTD[8]);

	return 1;
}

SAD?

YCMD:tdon(playerid, params[], help)
{
	TextDrawShowForPlayer(playerid, Ingame_gTD[0]);
	TextDrawShowForPlayer(playerid, Ingame_gTD[1]);
	TextDrawShowForPlayer(playerid, Ingame_gTD[2]);
	TextDrawShowForPlayer(playerid, Ingame_gTD[3]);
	TextDrawShowForPlayer(playerid, Ingame_gTD[4]);
	TextDrawShowForPlayer(playerid, Ingame_gTD[5]);
	TextDrawShowForPlayer(playerid, Ingame_gTD[6]);
	TextDrawShowForPlayer(playerid, Ingame_gTD[7]);
	TextDrawShowForPlayer(playerid, Ingame_gTD[8]);
	return 1;
}

[pawno]YCMD:tdon(playerid, params[], help)
{
TextDrawShowForPlayer(playerid, Ingame_gTD[0]);
TextDrawShowForPlayer(playerid, Ingame_gTD[1]);
TextDrawShowForPlayer(playerid, Ingame_gTD[2]);
TextDrawShowForPlayer(playerid, Ingame_gTD[3]);
TextDrawShowForPlayer(playerid, Ingame_gTD[4]);
TextDrawShowForPlayer(playerid, Ingame_gTD[5]);
TextDrawShowForPlayer(playerid, Ingame_gTD[6]);
TextDrawShowForPlayer(playerid, Ingame_gTD[7]);
TextDrawShowForPlayer(playerid, Ingame_gTD[8]);

return 1;
}[/pawno]

Sve sam resio sto se tice toga, ali sad izlazi jos jedan warn koji je na liniji gde je ovo new string
public OnGameModeInit()
{
Create3DTextLabel("{00CED1}Dobro dosli na MatrixGaming,\nUkoliko vam je potrebna pomoc/nPitajte na {F3FF02}/askq" , 0xFFFF0AA,  1625.0516,-2334.4111,13.5396, 20,0,3);

    new string[1026];

	skinlist = LoadModelSelectionMenu("sc_Base/selections/skinovi.txt");
	skinlist1 = LoadModelSelectionMenu("sc_Base/selections/skinovi.txt");
	gitaralist = LoadModelSelectionMenu("sc_Base/selections/gitareatt.txt");
	obj1list = LoadModelSelectionMenu("sc_Base/selections/attachments1.txt");
	obj2list = LoadModelSelectionMenu("sc_Base/selections/attachments2.txt");
	gov1list = LoadModelSelectionMenu("sc_Base/selections/attachmentsgov1.txt");
	gov2list = LoadModelSelectionMenu("sc_Base/selections/attachmentsgov2.txt");

	for(new b = 0; b < sizeof(AD); b++)
	{

Pa poravnaj samo kod..................................  :'( :'( :'( :'( ??? ??? ??? ???

Citat: V01D poslato Mart 05, 2020, 20:17:29 POSLE PODNE
Pa poravnaj samo kod..................................  :'( :'( :'( :'( ??? ??? ??? ???

Slusaj brt sve sam probao, mislim da je bug neki ali sta god da stavim na taj line na koji izadje warn uvek izadje recimo da na taj lajn stavim //123 on ce opet da bude warn na tom line nez sta da radim??

YCMD:tdon(playerid, params[], help)
{
    for(new i; i < 9; TextDrawShowForPlayer(playerid, Ingame_gTD[i++]));
    return 1;
}
[Include] > Optidraw
[Include] > Model-Sizes-SQL