[AJUDA]Erro TextDraw!
#6

Public Update Time:
Quote:

forward UpdateTime(playerid);
public UpdateTime(playerid)
{
format(score, sizeof(score), "Score: %i",GetPlayerScore(playerid));
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++;
}
}

Tem Alguma Coisa Errada?
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: 2 Guest(s)