Small help needed.
#3

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 :
PHP код:
new HourMinuteSecond;
gettime(HourMinuteSecond);
printf("%02d:%02d:%02d"HourMinuteSecond); 
When player connects, but how I can do now.
PHP код:
new string[128];
new 
playername[MAX_PLAYER_NAME];
GetPlayerName(playeridplayernamesizeof(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); 
Reply


Messages In This Thread
Small help needed. - by Kukkurloom - 23.05.2012, 12:28
Re: Small help needed. - by MP2 - 23.05.2012, 12:34
Re: Small help needed. - by Kukkurloom - 23.05.2012, 12:38
Re: Small help needed. - by miokie - 23.05.2012, 13:02

Forum Jump:


Users browsing this thread: 2 Guest(s)