Question

stock ShowStats(playerid, checkadm)
{
	new dialog[256];
	format(dialog, sizeof(dialog),
		"{FFFFFF}Ник:\t\t{0089ff}%s\n\
		{FFFFFF}Пол:\t\t{0089ff}%s\n\
		{FFFFFF}Раса:\t\t{0089ff}%s\n\
		{FFFFFF}Возраст:\t{0089ff}%d лет/год\n\
		{FFFFFF}Отыграных часов:\t\t{0089ff}%d\n",
	pName(playerid),
	(player_info[playerid][pSex] == 1) ? ("Мужской") : ("Женский"),
	PlayerRaces[player_info[playerid][pRace]-1],
	player_info[playerid][pAge],
	player_info[playerid][pEXP],
	);
	if(checkadm == 0) SPD(playerid, DLG_STATS, DIALOG_STYLE_MSGBOX, !"{ff9300}Статистика персонажа", dialog, !"Назад", !"Закрыть");
	else SPD(playerid, DLG_NONE, DIALOG_STYLE_MSGBOX, !"{ff9300}Статистика персонажа", dialog, !"Закрыть", "");
}

Помогите пожалуйста! Не пойму в чем же ошибки.

error 029: invalid expression, assumed zero
error 001: expected token: ",", but found ";"

 

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

после player_info[playerid][pEXP] запятая лишняя, удалите ее

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • tellarionterceiro
      By tellarionterceiro
      Привет, знает кто может быть как можно создать на карте гангзоны чёрного цвета?

      https://prnt.sc/fSq26C5kj2Xc