[HELP] Hour Problem
#1

pawn Код:
public Time2(playerid)
{
    new Hour[MAX_PLAYERS],Minute[MAX_PLAYERS],Second[MAX_PLAYERS];
    gettime(Hour[playerid],Minute[playerid],Second[playerid]);
    new string[128];
    format(string, sizeof(string), "%d:%d:%d", Hour[playerid],Minute[playerid],Second[playerid]);
    TextDrawSetString(Textdraw1[playerid],string);

return 1;
}
It might show all of players' own pc hour personally. But it always shows ID:0's hour for everyone. How to fix?
Reply


Messages In This Thread
[HELP] Hour Problem - by LasTRace - 10.08.2010, 16:09

Forum Jump:


Users browsing this thread: 2 Guest(s)