Jump to content

Question

Posted

Sal, am si eu nevoie de o comanda /stats prin care jucatorul sa vada cate ore si minute are pe server, si sa se salveze orele si minutele...pls help, thx ;)

7 answers to this question

Recommended Posts

Guest farse
Posted

Ce adminscript folosesti?

Guest farse
Posted

..iati ladmin4v2...vad ca la dcmd_stats este si 'time'..la sfarsit...


dcmd_stats(playerid,params[]) {
#pragma unused params
new string[128], pDeaths, h, m, s;
    TotalGameTime(playerid, h, m, s);
if(PlayerInfo[playerid][Deaths] == 0) pDeaths = 1; else pDeaths = PlayerInfo[playerid][Deaths];
format(string, sizeof(string), "| %s's Stats:  Kills: %d | Deaths: %d | Ratio: %0.2f | Money: $%d | Time: %d hrs %d mins %d secs |",PlayerName2(playerid), PlayerInfo[playerid][Kills], PlayerInfo[playerid][Deaths], Float:PlayerInfo[playerid][Kills]/Float:pDeaths,GetPlayerMoney(playerid), h, m, s);
return SendClientMessage(playerid, green, string);
}


Incearca asta...cauta in mod dcmd_stats si inlocuieste cu asta..

Guest farse
Posted

asa e,comanda e buna...am numarat si is 8 si in stanga si in dreapta...sterge accountul,fa altu,si uitate sa vezi daca iti arata bine...

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.