Need New GameTimer
#4

what do you mean with "you don't see the time"?
tried it like this? :

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp("/gettime", cmdtext, true, 8) == 0)
  {
    new h, m;
    GetPlayerTimeEx(playerid, h, m);
    new string[20];
    format(string, sizeof(string), "%d:%d", h, m);
    SendClientMessage(playerid, 0x999999AA, string);
    return 1;
  }
  return 0;
}
Reply


Messages In This Thread
Need New GameTimer - by Admigo - 21.05.2011, 12:49
Re: Need New GameTimer - by Sascha - 21.05.2011, 13:50
Re: Need New GameTimer - by Admigo - 21.05.2011, 13:58
Re: Need New GameTimer - by Sascha - 21.05.2011, 14:28
Re: Need New GameTimer - by Admigo - 21.05.2011, 21:23
Re: Need New GameTimer - by Sascha - 22.05.2011, 06:54
Re: Need New GameTimer - by Admigo - 22.05.2011, 09:06
Re: Need New GameTimer - by Admigo - 22.05.2011, 10:51

Forum Jump:


Users browsing this thread: 4 Guest(s)