[Ajuda] Relйgio Samp
#2

pawn Код:
public UpdateTime()
{
    gettime(hour, minute);
    format(timestr,32,"%02d:%02d",hour,minute);
    TextDrawSetString(txtTimeDisp,timestr);

    new x=0;
    while(x!=MAX_PLAYERS) {
        if(IsPlayerConnected(x) && GetPlayerState(x) != PLAYER_STATE_NONE) {
            SetPlayerTime(x,hour,minute);
         }
         x++;
    }
    return SetWorldTime((hour >= 18 ? 21 : hour));
}
Tenta assim
Reply


Messages In This Thread
[Ajuda] Relйgio Samp - by Spencer1 - 10.04.2012, 00:18
Re: [Ajuda] Relйgio Samp - by Jason` - 10.04.2012, 00:26

Forum Jump:


Users browsing this thread: 2 Guest(s)