23.05.2012, 12:38
I'm going to add this to my RolePlay server. Better to ban hackers when they log out before antiban starts to smash
I added :
When player connects, but how I can do now.
I added :
PHP код:
new Hour, Minute, Second;
gettime(Hour, Minute, Second);
printf("%02d:%02d:%02d", Hour, Minute, Second);
PHP код:
new string[128];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
format(string,sizeof(string),"%s has left the server.", playername); // Time here.
PHP код:
format(string,sizeof(string),"%s has left the server. (HOUR:MIN)", playername);