time online and register date
#1

How can I show my online time and date readings players.
data save system is default.
exemple:
Код:
format(LineForFile, 100, "Password %s\r\n", APlayerData[playerid][PlayerPassword]); // Construct the line: "Password <playerpassword>"
	fwrite(PFile, LineForFile); // And save it to the file
Reply
#2

Use
pawn Код:
gettime();
https://sampwiki.blast.hk/wiki/Gettime

and
pawn Код:
getdate();
https://sampwiki.blast.hk/wiki/Getdate

Reply
#3

how to use
Reply
#4

Quote:
Originally Posted by RoJoK3R
Посмотреть сообщение
how to use
If you click on it and look in the box, you will see...
Reply
#5

I do not know
Reply
#6

Bumb :d
Reply
#7

pawn Код:
new year, month, day, hour, minute, second;
getdate(year, month, day);
gettime(hour, minute, second);

printf("Today is: %d/%d/%d and the time is %d:%d:%d", month, day, year, hour, minute, second);
Reply
#8

How to use in register date (?
Reply
#9

Bumb
Reply
#10

someone?
Reply
#11

No Spam - If you are adding no useful information to a topic, you are spamming. This includes memes of any sort, especially in the more serious areas of the forum.

No Double Posting - There is a modify button , use it. However, bumping a topic in which you have or require further information is allowed after at least 24 hours. Note that two identical posts appearing at the same time is usually a mistake attributed to lag, and will not be penalizsed (but the second one will be removed).
Reply
#12

bumb :d
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)