08.01.2017, 12:53
Hello there,
so there is a line which doesn't execute, however when I put it in the beginning, it works,
this is the code:
well, It tried to debug it and figure out where is the problem, I discovered everything that come after the loop, doesn't execute:
Console output:
So, what should I do?
Thanks in advance!
so there is a line which doesn't execute, however when I put it in the beginning, it works,
this is the code:
PHP код:
for(new j=0; j<sizeof(TDConnect); j++){
PlayerTextDrawHide(playerid, TDConnect[playerid][j]);
}
Kick(playerid);
PHP код:
for(new j=0; j<sizeof(TDConnect); j++){
PlayerTextDrawHide(playerid, TDConnect[playerid][j]);
printf("Textdraw ID: %i was hidden",j);
}
printf("All textdraws were hidden");
Kick(playerid);
printf("Player Kicked");
Код:
Textdraw ID: 0 was hidden Textdraw ID: 1 was hidden Textdraw ID: 2 was hidden Textdraw ID: 3 was hidden Textdraw ID: 4 was hidden Textdraw ID: 5 was hidden Textdraw ID: 6 was hidden Textdraw ID: 7 was hidden Textdraw ID: 8 was hidden Textdraw ID: 9 was hidden Textdraw ID: 10 was hidden
Thanks in advance!