dialog - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: dialog (
/showthread.php?tid=622689)
dialog -
Lukasz56 - 25.11.2016
Код:
(1125) : error 029: invalid expression, assumed zero
Код:
(1135) : error 029: invalid expression, assumed zero
(1135) : error 001: expected token: ";", but found ")"
(1135) : error 029: invalid expression, assumed zero
(1135) : fatal error 107: too many error messages on one line
line 1125:
Код:
PlayerInfo [playerid] [pBankAccount] + = strval (inputtext);
line: 1135
Код:
if (PlayerInfo [playerid] [pBankAccount]> = strval (inputtext)) return ShowPlayerDialog (playerid, DIALOG_WITHDRAW, DIALOG_STYLE_INPUT, "Withdraw", " you do not have the amount requested , please type a new amount " , "Cancel" , " pull " ) ;
Re: dialog -
Micko123 - 25.11.2016
PHP код:
PlayerInfo[playerid][pBankAccount] += strval(inputtext);
PHP код:
if(PlayerInfo[playerid][pBankAccount]> = strval(inputtext)) return ShowPlayerDialog(playerid, DIALOG_WITHDRAW, DIALOG_STYLE_INPUT, "Withdraw", "you do not have the amount requested , please type a new amount", "Cancel", "pull " ) ;
Don't use spaces.. Remove them when you are doing something like this + =