Quote:
Originally Posted by Felipealves
PHP код:
public OnPlayerRequestClass(playerid, classid)
{
if(PlayerInfo[playerid][Logged] == 0)
{
for(new x = 0; x < sizeof(TDEditor_TD); x++)
{
TextDrawHideForPlayer(playerid, TDEditor_TD[x]);
}
new str[128], BARRA;
back:
if(BARRA!= 100)
{
BARRA ++;
goto back;
}
if(BARRA == 100)
{
format(str, 100, "%d%", BARRA);
TextDrawSetString(TDEditor_TD[10], str);
for(new i = 0; i < 'coloque a quantidade de textdraw em numeros' i++)
{
TextDrawShowForPlayer(playerid, TDEditor_LOgin[i]);
}
SelectTextDraw(playerid,0xFF0000AA);
}
ClearChatbox(playerid, 100);
return 1;
}
return 1;
}
|
Ainda continua sem ir de 0% a 100%