23.05.2012, 12:28
PHP код:
new string[128];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
format(string,sizeof(string),"%s Has left the server.", playername);
new string[128];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
format(string,sizeof(string),"%s Has left the server.", playername);
new Hour, Minute, Second;
gettime(Hour, Minute, Second);
printf("%02d:%02d:%02d", Hour, Minute, Second);
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.
format(string,sizeof(string),"%s has left the server. (HOUR:MIN)", playername);
new Hour, Minute, Second;
gettime(Hour, Minute, Second);
new string[128];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
format(string,sizeof(string),"%s has left the server. (%d:%d)", playername,Hour,Minute); // Time here.