[/STATS] Help
#1

help me
PHP Code:
#if defined USE_STATS
CMD:stats(playerid,params[]) {
    new 
string[128], pDeathsplayer1hms;
    if(
isnull(params)) player1 playerid;
    else 
player1 strval(params);
    if(
IsPlayerConnected(player1)) {
        
TotalGameTime(player1hms);
         if(
PlayerInfo[player1][Deaths] == 0pDeaths 1; else pDeaths PlayerInfo[player1][Deaths];
        
format(stringsizeof(string), "%s :  Level:%d | VIP:%d | Kills:%d | Deaths:%d | Ratio:%0.2f | Money:$%d | Bank:$%d | Time:%dhrs%dmins%dsecs | ",PlayerName2(player1),PlayerInfo[player1][Level],PlayerInfo[player1][Vip], PlayerInfo[player1][Kills], PlayerInfo[player1][Deaths],Float:PlayerInfo[player1][Kills]/Float:pDeaths,GetPlayerMoney(player1),PlayerInfo[player1][bank], hms);
        
ShowPlayerDialog(playerid,6969,DIALOG_STYLE_MSGBOX,"Stats",string,"Ok","");
        return 
SendClientMessage(playeridgreenstring);
    } else return 
SendClientMessage(playeridred"Player Not Connected!");
}
#endif 
i want like this,
not like this

help me to change the code
Reply


Messages In This Thread
[/STATS] Help - by Elegy - 14.12.2015, 05:27
Re: [/STATS] Help - by Elegy - 14.12.2015, 05:32
Re: [/STATS] Help - by Elegy - 14.12.2015, 05:49
Re: [/STATS] Help - by Ritzy2K - 14.12.2015, 06:17
Re: [/STATS] Help - by Elegy - 14.12.2015, 06:32
Re: [/STATS] Help - by Devon007 - 14.12.2015, 06:34
Re: [/STATS] Help - by Elegy - 14.12.2015, 06:50
Re: [/STATS] Help - by Elegy - 14.12.2015, 07:34

Forum Jump:


Users browsing this thread: 2 Guest(s)