Problem(error/warning):
warning 213: tag mismatch: expected tag "PlayerText", but found "Text"
error 001: expected token: ",", but found "["
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
fatal error 107: too many error messages on one line
Deo skripte:
stock UnistiInGameTD(playerid)
{
for(new i = 0; i < 9; i ++)
{
PlayerTextDrawDestroy(playerid, Igtd[playerid][i]); //========== OVDJE IZBACUJE ERROR
Igtd[playerid][i] = PlayerText:INVALID_TEXT_DRAW;
}
}
Menjo sam td i sada mi izbacuje error kod PlayerTextDrawDestroy
imas li nesto ovako od new-ova
[pawn]new PlayerText:Igtd[MAX_PLAYERS][Brojevi] // Text: se koristi ako TD nije player a ako jeste player koristis PlayerText:[/pawn]
Citat: Gravano poslato Oktobar 17, 2021, 17:09:37 POSLE PODNE
imas li nesto ovako od new-ova
[pawn]new PlayerText:Igtd[MAX_PLAYERS][Brojevi] // Text: se koristi ako TD nije player a ako jeste player koristis PlayerText:[/pawn]
koristim
new Text:Igtd[9];
i kad stavim sad kako si i ti [MAX_PLAYERS]
iskoci mi jos errora
array must be indexed (variable "Igtd")
argument type mismatch (argument 1)
Citat: kAr1o poslato Oktobar 17, 2021, 17:28:59 POSLE PODNE
koristim
new Text:Igtd[9];
new PlayerText:Igtd[MAX_PLAYERS][9];
Citat: Gravano poslato Oktobar 17, 2021, 17:56:07 POSLE PODNE
new PlayerText:Igtd[MAX_PLAYERS][9];
iskace mi jos errora
array must be indexed (variable "Igtd")
argument type mismatch (argument 1)
jel koristis tako kako sam napisao?
[pawn]new PlayerText:Igtd[MAX_PLAYERS][10];[/pawn]
Citat: kAr1o poslato Oktobar 17, 2021, 16:08:45 POSLE PODNE
Problem(error/warning):
warning 213: tag mismatch: expected tag "PlayerText", but found "Text"
error 001: expected token: ",", but found "["
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
fatal error 107: too many error messages on one line
Deo skripte:
stock UnistiInGameTD(playerid)
{
for(new i = 0; i < 9; i ++)
{
PlayerTextDrawDestroy(playerid, Igtd[playerid][i]); //========== OVDJE IZBACUJE ERROR
Igtd[playerid][i] = PlayerText:INVALID_TEXT_DRAW;
}
}
Menjo sam td i sada mi izbacuje error kod PlayerTextDrawDestroy
new PlayerText:Igtd[MAX_PLAYERS][9];
posalji mi u pm kod textdrawa jesi siguran da su playertextdrawovi?
Ne možeš samo da promeniš iz Text: u PlayerText: i kaeš gotovo promenio sam TD u PTD :D
Textdrawovi su mu bili na global...