Deo skripte:
stock CheckGlad(playerid)
{
if(GladInfo == 5)
{
PlayerTextDrawSetString(playerid, GTD, "\
~w~\
~g~-\
~n~\
-\
~n~\
-\
~n~\
-\
~n~\
-");
PlayerTextDrawShow(playerid, GTD);
}
else if(GladInfo == 4)
{
PlayerTextDrawSetString(playerid, GTD, "\
~w~\
-\
~n~\
~g~-\
~n~\
-\
~n~\
-\
~n~\
-");
PlayerTextDrawShow(playerid, GTD);
}
else if(GladInfo == 3)
{
PlayerTextDrawSetString(playerid, GTD, "\
~w~\
-\
~n~\
-\
~n~\
~g~-\
~n~\
-\
~n~\
-");
PlayerTextDrawShow(playerid, GTD);
}
else if(GladInfo == 2)
{
PlayerTextDrawSetString(playerid, GTD, "\
~w~\
-\
~n~\
-\
~n~\
-\
~n~\
~g~-\
~n~\
-");
PlayerTextDrawShow(playerid, GTD);
}
else if(GladInfo == 1)
{
PlayerTextDrawSetString(playerid, GTD, "\
~w~\
-\
~n~\
-\
~n~\
-\
~n~\
-\
~n~\
~g~-");
PlayerTextDrawShow(playerid, GTD);
}
else if(GladInfo >= 6)
{
GladInfo = 5;
PlayerTextDrawSetString(playerid, GTD, "\
~w~\
~g~-\
~n~\
-\
~n~\
-\
~n~\
-\
~n~\
-");
PlayerTextDrawShow(playerid, GTD);
}
return 1;
}