Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: grał
1. [DM] czas, ile grał na serwerze
Witam,
mam problem i niewiem jak to zrobi? ;p
mianowicie....
w OnPlayerDisconnect
mam taki kod
Kod:

new string[256];
switch(reason)
{
case 0:
{
new pName[30];
GetPlayerName(playerid, pName, 30);
format(string, 256, "*** %s opu?ci?(a) server. (Crash)", pName);
SendClientMessageToAll(COLOR_GREY, string);
}
case 1:
{
new pName[30];
GetPlayerName(playerid, pName, 30);
format(string, 256, "*** %s opu?ci?(a) server. (Wyszed?)", pName);
SendClientMessageToAll(COLOR_GREY, string);
}
case 2:
{
new pName[30];
GetPlayerName(playerid, pName, 30);
format(string, 256, "*** %s opu?ci?(a) server. (Kick/Ban)", pName);
SendClientMessageToAll(COLOR_GREY, string);
}
}

i chcia?bym to przerobic na tak by pisa?o np
"jakisnick opu?ci?(a) server. (wyszed?) gra?(a) : (i tu by pokazywa?o ile kto? gra? w formacje
HH:MM:SS
przyk?ad
jakisnick opu?ci?(a) server. (wyszed?) gra?(a) : 0 godz 15 min 30 sek
z g?ry thx; za pomoc lec? zimne :piwo: