How can i disable it?
#4

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.
Reply


Messages In This Thread
How can i disable it? - by oghabanjb - 14.10.2018, 13:56
Re: How can i disable it? - by Boarden - 14.10.2018, 14:05
Re: How can i disable it? - by oghabanjb - 14.10.2018, 14:15
Re: How can i disable it? - by KinderClans - 14.10.2018, 14:17
Re: How can i disable it? - by Boarden - 14.10.2018, 14:20

Forum Jump:


Users browsing this thread: 1 Guest(s)