08.09.2010, 16:55
How can i Put that:
new name[MAX_PLAYER_NAME], string[256], string2[256],string3[256];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "| Stats of[%s] |", name);
format(string2, sizeof(string2), "[Kills: %d] [Deaths: %d] [Ratio: %0.2f] ",Player[playerid][Kills], Player[playerid][Deaths],Float:Player[playerid][Kills]/Float:Player[playerid][Deaths]);
format(string3, sizeof(string3), "[Cash: %d] [Score: %d] [Adminlevel: %d]",GetPlayerMoney(playerid),GetPlayerScore(playerid ),Player[playerid][admin]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
SendClientMessage(playerid, COLOR_WHITE, string2);
SendClientMessage(playerid, COLOR_WHITE, string3);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|__________________________________________|" );
in a dialog message box?
thanks for help
Flabsch
new name[MAX_PLAYER_NAME], string[256], string2[256],string3[256];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "| Stats of[%s] |", name);
format(string2, sizeof(string2), "[Kills: %d] [Deaths: %d] [Ratio: %0.2f] ",Player[playerid][Kills], Player[playerid][Deaths],Float:Player[playerid][Kills]/Float:Player[playerid][Deaths]);
format(string3, sizeof(string3), "[Cash: %d] [Score: %d] [Adminlevel: %d]",GetPlayerMoney(playerid),GetPlayerScore(playerid ),Player[playerid][admin]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
SendClientMessage(playerid, COLOR_WHITE, string2);
SendClientMessage(playerid, COLOR_WHITE, string3);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|__________________________________________|" );
in a dialog message box?
thanks for help
Flabsch