Posts: 33
Threads: 0
Joined: Jun 2014
Reputation:
0
Assuming you're just talking about the text in the corner, remove the "GameTextForPlayer" line in the command (along with any strings that were used to display the text, if you no longer want to use that text).
Posts: 716
Threads: 92
Joined: May 2018
Quote:
Originally Posted by Boarden
Assuming you're just talking about the text in the corner, remove the "GameTextForPlayer" line in the command (along with any strings that were used to display the text, if you no longer want to use that text).
|
Check his screen, it shows 17:
6 which is not a correct time format (12/24 hours).
@OP, try this:
pawn Код:
CMD:time(playerid, params[])
{
new string[128], hour, minute, seconds;
gettime(hour, minute, seconds);
format(string, sizeof(string), "~g~|~w~%02d:%02d~g~|", hour, minute);
GameTextForPlayer(playerid, string, 2000, 1);
return 1;
}
And edit it according to your time command.