[AJUDA]Erro TextDraw!
#9

Erro resolvido:
pawn Код:
forward UpdateTime();
public UpdateTime()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
format(score, sizeof(score), "Score: %i",GetPlayerScore(i));
TextDrawSetString(tdscore,score);
gettime(hour, minute);
format(timestr,32,"%02d:%02d",hour,minute);
TextDrawSetString(txtTimeDisp,timestr);
SetWorldTime(hour);
new x=0;
while(x!=MAX_PLAYERS) {
if(IsPlayerConnected(x) && GetPlayerState(x) != PLAYER_STATE_NONE) {
SetPlayerTime(x,hour,minute);
}
x++;
}
}
Reply


Messages In This Thread
[AJUDA]Erro TextDraw! - by ReDKiiL - 30.08.2011, 14:09
Re: [AJUDA]Erro TextDraw! - by CocaC0la - 30.08.2011, 14:18
Respuesta: [AJUDA]Erro TextDraw! - by chapa - 30.08.2011, 14:20
Respuesta: [AJUDA]Erro TextDraw! - by ReDKiiL - 30.08.2011, 14:20
Respuesta: [AJUDA]Erro TextDraw! - by chapa - 30.08.2011, 14:30
Respuesta: [AJUDA]Erro TextDraw! - by ReDKiiL - 30.08.2011, 14:32
Respuesta: [AJUDA]Erro TextDraw! - by chapa - 30.08.2011, 14:37
Re: [AJUDA]Erro TextDraw! - by Vai_Besta - 30.08.2011, 15:22
Re: [AJUDA]Erro TextDraw! - by StrondA_ - 30.08.2011, 15:36

Forum Jump:


Users browsing this thread: 1 Guest(s)