nabend leute;
wie es die überschrift schon sagt, wenn ich inGame /stats eintippe zeig er nur 2 von 3 zeilen an ....
if (strcmp("/stats", cmdtext, true, 10) == 0)
{
new name[MAX_PLAYER_NAME], string[300], string2[300],string3[300],string4[300];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "***| Stats von [%s] |***", name);
format(string2, sizeof(string2), "[Kills: %d] [Deaths: %d] [Ratio: %0.2f] [Wanted: %d] [Cash: %d]",Player[playerid][Kills],Player[playerid][Deaths], Float:Player[playerid][Kills]/Float:Player[playerid][Deaths],GetPlayerWantedLevel(playerid),GetPlayerMoney(playerid));
format(string3, sizeof(string3), "[Score: %d] [Adminlevel: %d] [Grass: %d] [Heroin: %d] ",GetPlayerScore(playerid),Player[playerid][admin],Player[playerid][gras],Player[playerid][heroin]);
format(string3, sizeof(string3), "[LSD: %d]",Player[playerid][lsd]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|________________________________________________________________|");
SendClientMessage(playerid, COLOR_GREEN, string);
SendClientMessage(playerid, COLOR_WHITE, string2);
SendClientMessage(playerid, COLOR_WHITE, string3); //das wird nicht angezeigt -.-
SendClientMessage(playerid, COLOR_WHITE, string4);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|________________________________________________________________|");
return 1;
}
ich sehe nicht den fehler...
mfg xXganzereuroXx