Pitanje za glad sistem


Započeo LudiYoutuber65, Maj 24, 2021, 16:24:13 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

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:
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;
}

Poslednja Izmena: Maj 24, 2021, 20:54:24 POSLE PODNE od M Ө M Σ N Z I