{ if(!IsNumeric(inputtext)) return ShowPlayerDialog(playerid, DIALOG_TRADEVEHICLE, DIALOG_STYLE_INPUT,"{FF0000}Cash","{FF0000}Chi co the nhap so lieu !\n{FFFFFF}Hay nhap so luong tien mat bu them vao day.","Xong","Huy bo"); new amount = strval(inputtext); if(PlayerInfo[playerid][pCash] < amount) return ShowPlayerDialog(playerid, DIALOG_TRADEVEHICLE, DIALOG_STYLE_INPUT,"{FF0000}Cash","{FF0000}Ban khong co nhieu tien mat nhu da nhap !\n{FFFFFF}Hay nhap so luong tien mat bu them vao day.","Xong","Huy bo"); if(amount > 0) { PlayerInfo[playerid][TradeItems][1] = amount; CheckTradeInfo(playerid); } else ShowPlayerDialog(playerid, DIALOG_TRADEVEHICLE, DIALOG_STYLE_INPUT,"{FF0000}Cash","{FF0000}So luong tien mat phai > 0 !\n{FFFFFF}Hay nhap so luong tien mat bu them vao day.","Xong","Huy bo"); } |
./includes/gta-ace.pwn(98901) : warning 213: tag mismatch ./includes/gta-ace.pwn(109646) : warning 213: tag mismatch ./includes/gta-ace.pwn(109646) : warning 215: expression has no effect ./includes/gta-ace.pwn(109646) : error 001: expected token: ";", but found "[" ./includes/gta-ace.pwn(109646) : error 029: invalid expression, assumed zero ./includes/gta-ace.pwn(109646) : warning 215: expression has no effect ./includes/gta-ace.pwn(109646) : error 001: expected token: ";", but found "]" ./includes/gta-ace.pwn(109646) : fatal error 107: too many error messages on one line |