22.06.2014, 09:49
I made a regular format for the dialog but apparently I used to much characters already, and I'm just in the very beginning of this gamemode. There has to be added three times as much in the future.
I tried getting along with Strcat but I keep getting multiple errors, if someone can put it in the right order and such would be great. Here is the original command.
Thanks in advance!
Код:
(660) : error 075: input line too long (after substitutions)
Код:
CMD:stats(playerid, params[]) { new string[1024]; format(string, sizeof(string), ""COL_LIGHTBLUE"GENERAL INFORMATION:\n"COL_WHITE"Character Level: %d\nExperience: %d\nCash: %d\nBank: %d\nKills: %d\nDeaths: %d\nMaster Keys: %d\n\n"COL_LIGHTBLUE"GAME STATICS:\n"COL_WHITE"Caught Fishes: %d\nCut Trees: %d\n", GetPlayerScore(playerid), PlayerInfo[playerid][pExp], GetPlayerMoney(playerid), PlayerInfo[playerid][pBank], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][pMkey], PlayerInfo[playerid][pFishtotal], PlayerInfo[playerid][pLogstotal]); ShowPlayerDialog(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX,"Personal Statistics", string,"Close",""); return 1; }