Problem(error/warning):Uzeo sam glad sistem sa ovog site i sad umjesto crtica želim da uradim da se pokazuju u tdovima,kako?
Deo skripte: [pawn]stock CheckGlad(playerid)
{
if(GladInfo[playerid][gGlad] == 5)
{
PlayerTextDrawSetString(playerid, GTD[playerid], "\
~w~\
~g~-\
~n~\
-\
~n~\
-\
~n~\
-\
~n~\
-");
PlayerTextDrawShow(playerid, GTD[playerid]);
}
else if(GladInfo[playerid][gGlad] == 4)
{
PlayerTextDrawSetString(playerid, GTD[playerid], "\
~w~\
-\
~n~\
~g~-\
~n~\
-\
~n~\
-\
~n~\
-");
PlayerTextDrawShow(playerid, GTD[playerid]);
}
else if(GladInfo[playerid][gGlad] == 3)
{
PlayerTextDrawSetString(playerid, GTD[playerid], "\
~w~\
-\
~n~\
-\
~n~\
~g~-\
~n~\
-\
~n~\
-");
PlayerTextDrawShow(playerid, GTD[playerid]);
}
else if(GladInfo[playerid][gGlad] == 2)
{
PlayerTextDrawSetString(playerid, GTD[playerid], "\
~w~\
-\
~n~\
-\
~n~\
-\
~n~\
~g~-\
~n~\
-");
PlayerTextDrawShow(playerid, GTD[playerid]);
}
else if(GladInfo[playerid][gGlad] == 1)
{
PlayerTextDrawSetString(playerid, GTD[playerid], "\
~w~\
-\
~n~\
-\
~n~\
-\
~n~\
-\
~n~\
~g~-");
PlayerTextDrawShow(playerid, GTD[playerid]);
}
else if(GladInfo[playerid][gGlad] >= 6)
{
GladInfo[playerid][gGlad] = 5;
PlayerTextDrawSetString(playerid, GTD[playerid], "\
~w~\
~g~-\
~n~\
-\
~n~\
-\
~n~\
-\
~n~\
-");
PlayerTextDrawShow(playerid, GTD[playerid]);
}
return 1;
}[/pawn]
Sređeno