[Ajuda] Dialog ...
#1

Erros:
Код:
C:\Documents and Settings\Maurilio\Desktop\BVC\gamemodes\BVC1.0.pwn(3005) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Documents and Settings\Maurilio\Desktop\BVC\gamemodes\BVC1.0.pwn(3005) : warning 219: local variable "y" shadows a variable at a preceding level
C:\Documents and Settings\Maurilio\Desktop\BVC\gamemodes\BVC1.0.pwn(3005) : warning 219: local variable "z" shadows a variable at a preceding level
C:\Documents and Settings\Maurilio\Desktop\BVC\gamemodes\BVC1.0.pwn(3267) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Maurilio\Desktop\BVC\gamemodes\BVC1.0.pwn(3267) : warning 215: expression has no effect
C:\Documents and Settings\Maurilio\Desktop\BVC\gamemodes\BVC1.0.pwn(3267) : error 001: expected token: ";", but found ":"
C:\Documents and Settings\Maurilio\Desktop\BVC\gamemodes\BVC1.0.pwn(3268) : error 014: invalid statement; not in switch
C:\Documents and Settings\Maurilio\Desktop\BVC\gamemodes\BVC1.0.pwn(3268) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Maurilio\Desktop\BVC\gamemodes\BVC1.0.pwn(3268) : warning 215: expression has no effect
C:\Documents and Settings\Maurilio\Desktop\BVC\gamemodes\BVC1.0.pwn(3268) : error 001: expected token: ";", but found ":"
C:\Documents and Settings\Maurilio\Desktop\BVC\gamemodes\BVC1.0.pwn(3268) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
e As Linha Da Erro 1 Em 1
pawn Код:
case: DialogRegister: Dialog_Register(playerid, response, inputtext);
        case: DialogLogin: Dialog_Login(playerid, response, inputtext);
        case: DialogStatsOtherPlayer: Dialog_StatsOtherPlayer(playerid, response, listitem);
        case: DialogStatsHouse: Dialog_StatsHouse(playerid, response, listitem);
        case: DialogStatsGoHouse: Dialog_StatsGoHouse(playerid, response, listitem);
        case: DialogStatsGoBusiness: Dialog_StatsGoBusiness(playerid, response, listitem);
        case: DialogRescue: Dialog_Rescue(playerid, response, listitem);
        case: DialogBuyLicenses: Dialog_BuyLicenses(playerid, response, listitem);
        case: DialogRules: Dialog_Rules(playerid, response);
        case: DialogTruckerJobMethod: Dialog_TruckerSelectJobMethod(playerid, response, listitem);
        case: DialogTruckerSelectLoad: Dialog_TruckerSelectLoad(playerid, response, listitem);
        case: DialogTruckerStartLoc: Dialog_TruckerSelectStartLoc(playerid, response, listitem);
        case: DialogTruckerEndLoc: Dialog_TruckerSelectEndLoc(playerid, response, listitem);
        case: DialogBusJobMethod: Dialog_BusSelectJobMethod(playerid, response, listitem);
        case: DialogBusSelectRoute: Dialog_BusSelectRoute(playerid, response, listitem);
        case: DialogCourierSelectQuant: Dialog_CourierSelectQuant(playerid, response, listitem);
        case: DialogBike: Dialog_Bike(playerid, response, listitem);
        case: DialogCar: Dialog_Car(playerid, response, listitem);
        case: DialogPlane: Dialog_Plane(playerid, response, listitem);
        case: DialogTrailer: Dialog_Trailer(playerid, response, listitem);
        case: DialogBoat: Dialog_Boat(playerid, response, listitem);
        case: DialogNeon: Dialog_Neon(playerid, response, listitem);
        case: DialogRentCarClass: Dialog_RentProcessClass(playerid, response, listitem);
        case: DialogRentCar: Dialog_RentCar(playerid, response, listitem);
        case: DialogPlayerCommands: Dialog_PlayerCommands(playerid, response, listitem);
        case: DialogPrimaryCarColor: Dialog_PrimaryCarColor(playerid, response, listitem);
        case: DialogSedundaryCarColor: Dialog_SedundaryCarColor(playerid, response, listitem);
        case: DialogWeather: Dialog_Weather(playerid, response, listitem);
        case: DialogCarOption: Dialog_CarOption(playerid, response, listitem);
        case: DialogSelectConvoy: Dialog_SelectConvoy(playerid, response, listitem);
        case: DialogHouseMenu: Dialog_HouseMenu(playerid, response, listitem);
        case: DialogUpgradeHouse: Dialog_UpgradeHouse(playerid, response, listitem);
        case: DialogGoHome: Dialog_GoHome(playerid, response, listitem);
        case: DialogHouseNameChange: Dialog_ChangeHouseName(playerid, response, inputtext);
        case: DialogSellHouse: Dialog_SellHouse(playerid, response);
        case: DialogBuyCarClass: Dialog_BuyCarClass(playerid, response, listitem);
        case: DialogBuyCar: Dialog_BuyCar(playerid, response, listitem);
        case: DialogSellCar: Dialog_SellCar(playerid, response, listitem);
        case: DialogBuyInsurance: Dialog_BuyInsurance(playerid, response);
        case: DialogGetCarSelectHouse: Dialog_GetCarSelectHouse(playerid, response, listitem);
        case: DialogGetCarSelectCar: Dialog_GetCarSelectCar(playerid, response, listitem);
        case: DialogUnclampVehicles: Dialog_UnclampVehicles(playerid, response);
        case: DialogCreateBusSelType: Dialog_CreateBusSelType(playerid, response, listitem);
        case: DialogBusinessMenu: Dialog_BusinessMenu(playerid, response, listitem);
        case: DialogGoBusiness: Dialog_GoBusiness(playerid, response, listitem);
        case: DialogBusinessNameChange: Dialog_ChangeBusinessName(playerid, response, inputtext);
        case: DialogSellBusiness: Dialog_SellBusiness(playerid, response);
        case: DialogBankPasswordRegister: Dialog_BankPasswordRegister(playerid, response, inputtext);
        case: DialogBankPasswordLogin: Dialog_BankPasswordLogin(playerid, response, inputtext);
        case: DialogBankOptions: Dialog_BankOptions(playerid, response, listitem);
        case: DialogBankDeposit: Dialog_BankDeposit(playerid, response, inputtext);
        case: DialogBankWithdraw: Dialog_BankWithdraw(playerid, response, inputtext);
        case: DialogBankTransferMoney: Dialog_BankTransferMoney(playerid, response, inputtext);
        case: DialogBankTransferName: Dialog_BankTransferName(playerid, response, inputtext);
        case: DialogBankCancel: Dialog_BankCancel(playerid, response);
        case: DialogHelpItemChosen: Dialog_HelpItemChosen(playerid, response, listitem);
        case: DialogHelpItem: Dialog_HelpItem(playerid, response);
        case: DialogOldPassword: Dialog_OldPassword(playerid, response, inputtext);
        case: DialogNewPassword: Dialog_NewPassword(playerid, response, inputtext);
        case: DialogConfirmPassword: Dialog_ConfirmPassword(playerid, response);
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch (dialogid)
    {
        case: DialogRegister: Dialog_Register(playerid, response, inputtext);
        case: DialogLogin: Dialog_Login(playerid, response, inputtext);
        case: DialogStatsOtherPlayer: Dialog_StatsOtherPlayer(playerid, response, listitem);
        case: DialogStatsHouse: Dialog_StatsHouse(playerid, response, listitem);
        case: DialogStatsGoHouse: Dialog_StatsGoHouse(playerid, response, listitem);
        case: DialogStatsGoBusiness: Dialog_StatsGoBusiness(playerid, response, listitem);
        case: DialogRescue: Dialog_Rescue(playerid, response, listitem);
        case: DialogBuyLicenses: Dialog_BuyLicenses(playerid, response, listitem);
        case: DialogRules: Dialog_Rules(playerid, response);
        case: DialogTruckerJobMethod: Dialog_TruckerSelectJobMethod(playerid, response, listitem);
        case: DialogTruckerSelectLoad: Dialog_TruckerSelectLoad(playerid, response, listitem);
        case: DialogTruckerStartLoc: Dialog_TruckerSelectStartLoc(playerid, response, listitem);
        case: DialogTruckerEndLoc: Dialog_TruckerSelectEndLoc(playerid, response, listitem);
        case: DialogBusJobMethod: Dialog_BusSelectJobMethod(playerid, response, listitem);
        case: DialogBusSelectRoute: Dialog_BusSelectRoute(playerid, response, listitem);
        case: DialogCourierSelectQuant: Dialog_CourierSelectQuant(playerid, response, listitem);
        case: DialogBike: Dialog_Bike(playerid, response, listitem);
        case: DialogCar: Dialog_Car(playerid, response, listitem);
        case: DialogPlane: Dialog_Plane(playerid, response, listitem);
        case: DialogTrailer: Dialog_Trailer(playerid, response, listitem);
        case: DialogBoat: Dialog_Boat(playerid, response, listitem);
        case: DialogNeon: Dialog_Neon(playerid, response, listitem);
        case: DialogRentCarClass: Dialog_RentProcessClass(playerid, response, listitem);
        case: DialogRentCar: Dialog_RentCar(playerid, response, listitem);
        case: DialogPlayerCommands: Dialog_PlayerCommands(playerid, response, listitem);
        case: DialogPrimaryCarColor: Dialog_PrimaryCarColor(playerid, response, listitem);
        case: DialogSedundaryCarColor: Dialog_SedundaryCarColor(playerid, response, listitem);
        case: DialogWeather: Dialog_Weather(playerid, response, listitem);
        case: DialogCarOption: Dialog_CarOption(playerid, response, listitem);
        case: DialogSelectConvoy: Dialog_SelectConvoy(playerid, response, listitem);
        case: DialogHouseMenu: Dialog_HouseMenu(playerid, response, listitem);
        case: DialogUpgradeHouse: Dialog_UpgradeHouse(playerid, response, listitem);
        case: DialogGoHome: Dialog_GoHome(playerid, response, listitem);
        case: DialogHouseNameChange: Dialog_ChangeHouseName(playerid, response, inputtext);
        case: DialogSellHouse: Dialog_SellHouse(playerid, response);
        case: DialogBuyCarClass: Dialog_BuyCarClass(playerid, response, listitem);
        case: DialogBuyCar: Dialog_BuyCar(playerid, response, listitem);
        case: DialogSellCar: Dialog_SellCar(playerid, response, listitem);
        case: DialogBuyInsurance: Dialog_BuyInsurance(playerid, response);
        case: DialogGetCarSelectHouse: Dialog_GetCarSelectHouse(playerid, response, listitem);
        case: DialogGetCarSelectCar: Dialog_GetCarSelectCar(playerid, response, listitem);
        case: DialogUnclampVehicles: Dialog_UnclampVehicles(playerid, response);
        case: DialogCreateBusSelType: Dialog_CreateBusSelType(playerid, response, listitem);
        case: DialogBusinessMenu: Dialog_BusinessMenu(playerid, response, listitem);
        case: DialogGoBusiness: Dialog_GoBusiness(playerid, response, listitem);
        case: DialogBusinessNameChange: Dialog_ChangeBusinessName(playerid, response, inputtext);
        case: DialogSellBusiness: Dialog_SellBusiness(playerid, response);
        case: DialogBankPasswordRegister: Dialog_BankPasswordRegister(playerid, response, inputtext);
        case: DialogBankPasswordLogin: Dialog_BankPasswordLogin(playerid, response, inputtext);
        case: DialogBankOptions: Dialog_BankOptions(playerid, response, listitem);
        case: DialogBankDeposit: Dialog_BankDeposit(playerid, response, inputtext);
        case: DialogBankWithdraw: Dialog_BankWithdraw(playerid, response, inputtext);
        case: DialogBankTransferMoney: Dialog_BankTransferMoney(playerid, response, inputtext);
        case: DialogBankTransferName: Dialog_BankTransferName(playerid, response, inputtext);
        case: DialogBankCancel: Dialog_BankCancel(playerid, response);
        case: DialogHelpItemChosen: Dialog_HelpItemChosen(playerid, response, listitem);
        case: DialogHelpItem: Dialog_HelpItem(playerid, response);
        case: DialogOldPassword: Dialog_OldPassword(playerid, response, inputtext);
        case: DialogNewPassword: Dialog_NewPassword(playerid, response, inputtext);
        case: DialogConfirmPassword: Dialog_ConfirmPassword(playerid, response);
    }

    return 1;
Reply


Messages In This Thread
[Ajuda] Dialog ... - by Don_Speed - 01.02.2012, 19:14
Re: [Ajuda] Dialog ... - by paulor - 01.02.2012, 19:27
Re: [Ajuda] Dialog ... - by Don_Speed - 01.02.2012, 19:37
Re: [Ajuda] Dialog ... - by Lуs - 01.02.2012, 20:01
Re: [Ajuda] Dialog ... - by paulor - 01.02.2012, 20:16
Re: [Ajuda] Dialog ... - by Don_Speed - 01.02.2012, 20:31
Re: [Ajuda] Dialog ... - by paulor - 01.02.2012, 20:35
Re: [Ajuda] Dialog ... - by Don_Speed - 01.02.2012, 23:48
Re: [Ajuda] Dialog ... - by Stronda xD - 01.02.2012, 23:51
Re: [Ajuda] Dialog ... - by Victor' - 01.02.2012, 23:58

Forum Jump:


Users browsing this thread: 1 Guest(s)