How to add date on this?
#1

Hi guys! i need help, i want to add the current date on this code:
pawn Код:
new stringbig[356];
            if(team[playerid] == TEAM_HUMAN)
            {
            format(stringbig,sizeof(stringbig),"{C9FFAB} [HUMAN](%d): %s",playerid, text);
            SendPlayerMessageToAll(playerid,stringbig);
            }
            if(team[playerid] == TEAM_ZOMBIE)
            {
            format(stringbig,sizeof(stringbig),"{C9FFAB} [ZOMBIE](%d): %s",playerid, text);
            SendPlayerMessageToAll(playerid,stringbig);
            }
like this: [dd/mm/yy - hh:mm]

Thanks..
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=197721
Reply
#3

Quote:
Originally Posted by AroseKhanNaizi
Посмотреть сообщение
Thank You, But How About The Time?
Reply
#4

See this about time: https://sampwiki.blast.hk/wiki/Gettime
Reply
#5

see that he used the getdate function to get the time
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)