Code:
C:\Users\KONT-2016\Desktop\TEMİZ SW\gamemodes\KONT-2016.pwn(13060) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Code:
stock tdMesajOlustur(playerid)
{
tdMesajTemizle(playerid);
for(new i; i < TEXT_SAYI; ++i) {
tdMesaj[playerid][i] = CreatePlayerTextDraw(playerid, 200.000000, 350.000000 + (i * 12), "_");
PlayerTextDrawBackgroundColor(playerid, tdMesaj[playerid][i],255);
PlayerTextDrawFont(playerid, tdMesaj[playerid][i],1);
PlayerTextDrawLetterSize(playerid, tdMesaj[playerid][i], 0.200000, 1.100000);
PlayerTextDrawColor(playerid, tdMesaj[playerid][i], -1);
PlayerTextDrawSetOutline(playerid, tdMesaj[playerid][i],1);
PlayerTextDrawSetProportional(playerid, tdMesaj[playerid][i],1);
PlayerTextDrawSetSelectable(playerid, tdMesaj[playerid][i],0);
PlayerTextDrawShow(playerid, tdMesaj[playerid][i]);
format(tdMesajStr[playerid][i], TEXT_KARAKTER, "_"); // boş yaparsak textdraw oyuncuya crash attırabilir
}else{
SetTimerEx("tdMesajKaldir",5000,false,"d",playerid);
}
return 1;
}