Problem(error/warning): warning 217: loose indentation ne radi pragma tabsize 0
Dio skripte: [pawn]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;
}[/pawn]
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
[pawn]
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;
}
[/pawn]
Rdilo mi je samo za taj jedan a ovaj sam isto promenio i nece da fixa
[pawn]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;
}[/pawn]
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
[pawn]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;
}[/pawn]
SAD?
[pawn]
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;
}
[/pawn]
[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
[pawn]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++)
{[/pawn]
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??
[pawn]
YCMD:tdon(playerid, params[], help)
{
for(new i; i < 9; TextDrawShowForPlayer(playerid, Ingame_gTD[i++]));
return 1;
}
[/pawn]