Help Me CMD:
#1

54908 : error 029: invalid expression, assumed zero
54908 : warning 215: expression has no effect
54908 : warning 215: expression has no effect
54908 : warning 215: expression has no effect
54908 : warning 215: expression has no effect
54908 : warning 215: expression has no effect
54908 : error 001: expected token: ";", but found ")"
54908 : error 029: invalid expression, assumed zero
54908 : fatal error 107: too many error messages on one line
Код:
CMD:doiphieu(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 4.0, -2445.2866,508.2198,30.0838)) //cho nay thay doi toa do doi phieu nhe
	if(GetPVarInt(playerid, "PinConfirmed"))
	{
(54908)		ShowPlayerDialog(playerid, DIALOG_PHIEUQUA, DIALOG_STYLE_LIST, "Ban Muon Doi Phieu Qua?","6 Phieu (2,000,000 SAD)\n10 Phieu (5,000 Credit)\n12 Phieu (200,000 VatLieu)\n15 Phieu (1 Freecar)\n18 Phieu (1 VipGold 30 days)\n20 Phieu (1 Rimkit)", "Ok", "Thoat");
	}
	else
	{
  		PinLogin(playerid);
	}
	return 1;
}
Reply
#2

First thing I'd do is try the dialog without all the braces... That is likely to be what's causing this, and in which case, they may need to be escaped or something.
Reply
#3

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
First thing I'd do is try the dialog without all the braces... That is likely to be what's causing this, and in which case, they may need to be escaped or something.
I tried many ways, but still failed
Reply
#4

What exactly have you tried though?

You could firstly do as I say and remove all the braces (()) and try it.

Another would be to form the contents of the dialog in a string prior to it, and address the string itself for the dialog.

Код:
"6 Phieu (2,000,000 SAD)\n10 Phieu (5,000 Credit)\n12 Phieu (200,000 VatLieu)\n15 Phieu (1 Freecar)\n18 Phieu (1 VipGold 30 days)\n20 Phieu (1 Rimkit)"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)