[Ajuda] error 021: symbol already defined: "PlayAudioStreamForPlayer"
#1

ALguйm pode me ajudar aqui? й porque jб coloquei as #defines mais ainda ta dando erro :/
se quiserem verem vocкs mesmo, coloquei o gm para download: http://www.mediafire.com/?kd9dsm9m8jfetvp
me ajudem pf

Код:
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\pawno\include\radio.inc(6) : error 021: symbol already defined: "PlayAudioStreamForPlayer"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\pawno\include\radio.inc(7) : error 021: symbol already defined: "StopAudioStreamForPlayer"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(579) : error 017: undefined symbol "DialogRadios"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(579) : error 017: undefined symbol "Dialog_Radios"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(580) : error 017: undefined symbol "DialogQ"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(580) : error 017: undefined symbol "Dialog_Q"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(595) : error 017: undefined symbol "Dialog_Neon"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(1299) : error 017: undefined symbol "VehicleNevada"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(1480) : warning 203: symbol is never used: "PoliceGetsWeapons"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Errors.
linha:

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    switch (
dialogid)
    {
        case 
DialogRegisterDialog_Register(playeridresponseinputtext);
        case 
DialogLoginDialog_Login(playeridresponseinputtext);
        case 
DialogStatsOtherPlayerDialog_StatsOtherPlayer(playeridresponselistitem);
        case 
DialogStatsHouseDialog_StatsHouse(playeridresponselistitem);
        case 
DialogStatsGoHouseDialog_StatsGoHouse(playeridresponselistitem);
        case 
DialogStatsGoBusinessDialog_StatsGoBusiness(playeridresponselistitem);
        case 
DialogRescueDialog_Rescue(playeridresponselistitem); // The rescue-dialog
        
case DialogRadiosDialog_Radios(playeridresponselistitem); // The radios-dialog
        
case DialogQDialog_Q(playeridresponselistitem); //sair do server
        
case DialogBuyLicensesDialog_BuyLicenses(playeridresponselistitem); // The license-dialog (allows the player to buy trucker/busdriver licenses)
        
case DialogRulesDialog_Rules(playeridresponse);
        case 
DialogTruckerJobMethodDialog_TruckerSelectJobMethod(playeridresponselistitem); // The work-dialog for truckers (shows the loads he can carry and lets the player choose the load)
        
case DialogTruckerSelectLoadDialog_TruckerSelectLoad(playeridresponselistitem); // The load-selection dialog for truckers (shows the startlocations for the selected load and let the player choose his startlocation)
        
case DialogTruckerStartLocDialog_TruckerSelectStartLoc(playeridresponselistitem); // The start-location dialog for truckers (shows the endlocations for the selected load and let the player choose his endlocation)
        
case DialogTruckerEndLocDialog_TruckerSelectEndLoc(playeridresponselistitem); // The end-location dialog for truckers (processes the selected endlocation and starts the job)
        
case DialogBusJobMethodDialog_BusSelectJobMethod(playeridresponselistitem); // The work-dialog for busdrivers (process the options to choose own busroute or auto-assigned busroute)
        
case DialogBusSelectRouteDialog_BusSelectRoute(playeridresponselistitem); // Choose the busroute and start the job
        
case DialogCourierSelectQuantDialog_CourierSelectQuant(playeridresponselistitem);
        case 
DialogBikeDialog_Bike(playeridresponselistitem); // The bike-dialog
        
case DialogCarDialog_Car(playeridresponselistitem); // The car-dialog (which uses a split dialog structure)
        
case DialogPlaneDialog_Plane(playeridresponselistitem); // The plane-dialog (which uses a split dialog structure)
        
case DialogTrailerDialog_Trailer(playeridresponselistitem); // The trailer-dialog (which uses a split dialog structure)
        
case DialogBoatDialog_Boat(playeridresponselistitem); // The boat-dialog
        
case DialogNeonDialog_Neon(playeridresponselistitem); // The neon-dialog
        
case DialogRentCarClassDialog_RentProcessClass(playeridresponselistitem); // The player chose a vehicleclass from where he can rent a vehicle
        
case DialogRentCarDialog_RentCar(playeridresponselistitem); // The player chose a vehicle from the list of vehicles from the vehicleclass he chose before
        
case DialogPlayerCommandsDialog_PlayerCommands(playeridresponselistitem); // Displays all commands in a split-dialog structure
        
case DialogPrimaryCarColorDialog_PrimaryCarColor(playeridresponselistitem);
        case 
DialogSedundaryCarColorDialog_SedundaryCarColor(playeridresponselistitem);
        case 
DialogWeatherDialog_Weather(playeridresponselistitem); // The weather dialog
        
case DialogCarOptionDialog_CarOption(playeridresponselistitem); // The caroption dialog
        
case DialogSelectConvoyDialog_SelectConvoy(playeridresponselistitem);
        case 
DialogHouseMenuDialog_HouseMenu(playeridresponselistitem); // Process the main housemenu
        
case DialogUpgradeHouseDialog_UpgradeHouse(playeridresponselistitem); // Process the house-upgrade menu
        
case DialogGoHomeDialog_GoHome(playeridresponselistitem); // Port to one of your houses
        
case DialogHouseNameChangeDialog_ChangeHouseName(playeridresponseinputtext); // Change the name of your house
        
case DialogSellHouseDialog_SellHouse(playeridresponse); // Sell the house
        
case DialogBuyCarClassDialog_BuyCarClass(playeridresponselistitem); // The player chose a vehicleclass from where he can buy a vehicle
        
case DialogBuyCarDialog_BuyCar(playeridresponselistitem); // The player chose a vehicle from the list of vehicles from the vehicleclass he chose before
        
case DialogSellCarDialog_SellCar(playeridresponselistitem);
        case 
DialogBuyInsuranceDialog_BuyInsurance(playeridresponse);
        case 
DialogGetCarSelectHouseDialog_GetCarSelectHouse(playeridresponselistitem);
        case 
DialogGetCarSelectCarDialog_GetCarSelectCar(playeridresponselistitem);
        case 
DialogUnclampVehiclesDialog_UnclampVehicles(playeridresponse);
        case 
DialogCreateBusSelTypeDialog_CreateBusSelType(playeridresponselistitem);
        case 
DialogBusinessMenuDialog_BusinessMenu(playeridresponselistitem);
        case 
DialogGoBusinessDialog_GoBusiness(playeridresponselistitem);
        case 
DialogBusinessNameChangeDialog_ChangeBusinessName(playeridresponseinputtext); // Change the name of your business
        
case DialogSellBusinessDialog_SellBusiness(playeridresponse); // Sell the business
        
case DialogBankPasswordRegisterDialog_BankPasswordRegister(playeridresponseinputtext);
        case 
DialogBankPasswordLoginDialog_BankPasswordLogin(playeridresponseinputtext);
        case 
DialogBankOptionsDialog_BankOptions(playeridresponselistitem);
        case 
DialogBankDepositDialog_BankDeposit(playeridresponseinputtext);
        case 
DialogBankWithdrawDialog_BankWithdraw(playeridresponseinputtext);
        case 
DialogBankTransferMoneyDialog_BankTransferMoney(playeridresponseinputtext);
        case 
DialogBankTransferNameDialog_BankTransferName(playeridresponseinputtext);
        case 
DialogBankCancelDialog_BankCancel(playeridresponse);
        case 
DialogHelpItemChosenDialog_HelpItemChosen(playeridresponselistitem);
        case 
DialogHelpItemDialog_HelpItem(playeridresponse);
        case 
DialogOldPasswordDialog_OldPassword(playeridresponseinputtext);
        case 
DialogNewPasswordDialog_NewPassword(playeridresponseinputtext);
        case 
DialogConfirmPasswordDialog_ConfirmPassword(playeridresponse);
    }
    return 
1;

Reply
#2

Quote:
Originally Posted by MatheusMendes
Посмотреть сообщение
ALguйm pode me ajudar aqui? й porque jб coloquei as #defines mais ainda ta dando erro :/
se quiserem verem vocкs mesmo, coloquei o gm para download: http://www.mediafire.com/?kd9dsm9m8jfetvp
me ajudem pf

Код:
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\pawno\include\radio.inc(6) : error 021: symbol already defined: "PlayAudioStreamForPlayer"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\pawno\include\radio.inc(7) : error 021: symbol already defined: "StopAudioStreamForPlayer"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(579) : error 017: undefined symbol "DialogRadios"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(579) : error 017: undefined symbol "Dialog_Radios"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(580) : error 017: undefined symbol "DialogQ"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(580) : error 017: undefined symbol "Dialog_Q"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(595) : error 017: undefined symbol "Dialog_Neon"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(1299) : error 017: undefined symbol "VehicleNevada"
C:\Users\Matheus-PC\Desktop\TRUCK L1F3 [TECH SAMP]\gamemodes\BADC.pwn(1480) : warning 203: symbol is never used: "PoliceGetsWeapons"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Errors.
kkkkkkkkkkkkkkkkkkkkkkkkkkkk GM baixado na Tech Samp c й mto doido...


Topo do gm:

#include <radio>
#include <a_samp>
#include <a_players>
#define VehicleNevada 533//Nevada

Apaga a linha do dialog_Neon
Reply
#3

ainda da erro :/
Reply
#4

Acho que ta faltando ser definido as dialogs.
Reply
#5

abre a tua include a_players com o bloco de notas botao direito do mouse nela e clica em edit se teu windows for xp tu vai ver isso la onde ta assim // Player info nas native ve se ta faltando isso por la
native
Код:
PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0);
se nao tiver la em baixo da ultima native ou entre elas mesmo so voce aicionar isso e ve se da serto na hora de compilar
http://files.sa-mp.com/samp03x_svr_R1-2_win32.zip
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)