[Pomoc]Oko komande /ah

Započeo Dane
2. Sep. 2011. Zaključano
1,383
pregleda
12
postova
Non-Stop Samper
5
Underboss
2. Sep. 2011.
Skripta koju koristim:Noxicus
Detaljan opis problema:Počeo sam stavljati komandu /ah u dialog ali sam počeo dobivati neke errore i nisam je još cijelu dovršio ali sam negdje pogriješio i dobio errore ako itko može pomoći...
Dio skripte:

OnDialogResponse:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == ahdialog)
{
    switch(listitem)
{
                          case 0:
                            {
          if (PlayerInfo >= 1)
          {
                          SendClientMessage(playerid, COLOR_GREEN, "================================================================");
      SendClientMessage(playerid, COLOR_GRAD1, "| ADMIN DUZNOST | /aon /aoff ");
        SendClientMessage(playerid, COLOR_GRAD1, "| ADMIN CHAT | /ao, /a(dmin) chat, /cnn");
        SendClientMessage(playerid, COLOR_GRAD1, "| ADMIN KOMANDE | /check, /setint, /goto, /ubij, /respawncar, /headovi, /sethp, /setarmor");
                              SendClientMessage(playerid, COLOR_GRAD1, "| ADMIN KOMANDE | /kick, /upozori, /ban, /utisaj, /prison, /jail");
  SendClientMessage(playerid, COLOR_GREEN, "================================================================");
                              return 1;
}
                          case 1:
                            {
                              if (PlayerInfo >= 2)
                            {
          SendClientMessage(playerid, COLOR_GREEN, "================================================================");
      SendClientMessage(playerid, COLOR_GRAD2,"| ADMIN | /freeze, /unfreeze, /bigears, /recon, /setteam, /cnn, /skydive");
          SendClientMessage(playerid, COLOR_GREEN, "================================================================");
                              return 1;
}
                          case 2:
                            {
                              if (PlayerInfo >= 3)
          {
          SendClientMessage(playerid, COLOR_GREEN, "================================================================");
      SendClientMessage(playerid, COLOR_GRAD3,"| ADMIN | /noooc, /fourdive, /sp, /endround, /mark, /gotomark, /gotols, /gotolv, /gotosf");
      SendClientMessage(playerid, COLOR_GRAD4,"| ADMIN | /getcar, /gotocar, /oldcar, /gethere, /setvirtual");
          SendClientMessage(playerid, COLOR_GREEN, "================================================================");
  return 1;
    }
                        }
              }
        }


Komanda:
COMMAND:ah(playerid, params[])
{
    ShowPlayerDialog(playerid, ahdialog, DIALOG_STYLE_LIST, "Admin Panel", "Admin Level 1\nAdmin Level 2\nAdmin Level 3\nAdmin Level 4\nAdmin Level 5\nHead Admin", "Odaberi", "Izadji");
    return 1;
}


Define:
//------------------------------ Dialozi maximalni ID dialogu je 32767 ------------------------------
#define ahdialog 10010

Neke slike/video za lakse dobivanje pomoci(neobavezno)://
[BWW] nåяcо
4
Enforcer
2. Sep. 2011.
nismo mi madionicari da znamo koji su erori..
postaj ih tu..
Non-Stop Samper
5
Underboss
2. Sep. 2011.
Evo errori ali od includa kad compilam dobijem te errore:
C:\Documents and Settings\Dejan\Desktop\Noxicus\pawno\include\G_ObjectsRot.inc(91) : error 004: function "OnObjectRotated" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(4679) : error 017: undefined symbol "SaveBusiness"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(5004) : error 017: undefined symbol "IsVehicleRCVehicle"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(5013) : error 017: undefined symbol "IsVehicleRCVehicle"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(5734) : error 017: undefined symbol "CheckRPName"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(5788) : error 004: function "CreateTunedCar" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(5879) : error 004: function "CreateTunedHeli" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6752) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6764) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6789) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6795) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6815) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6821) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6825) : error 017: undefined symbol "MotoSave"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6835) : error 004: function "endrace" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6839) : error 004: function "ReadyRefresh" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6848) : error 004: function "ab" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6850) : error 004: function "ab" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6851) : error 004: function "ab" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6852) : error 004: function "ab" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6854) : error 004: function "ab" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(7112) : error 017: undefined symbol "D_SetPlayerHealth"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(8474) : error 017: undefined symbol "SaveSBusiness"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(8526) : error 017: undefined symbol "SaveSBusiness"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(8581) : error 017: undefined symbol "SaveSBusiness"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(8625) : error 017: undefined symbol "SaveSBusiness"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

26 Errors.
Wattana
3
Hustler
2. Sep. 2011.
mislim da je to { }

neparan broj negdje
DeFox
5
Underboss
2. Sep. 2011.
ovo ti je cijeli ondialogresponse ili samo dio?
Non-Stop Samper
5
Underboss
2. Sep. 2011.
Samo dio te komande za OnDialogReponse...
[BWW] nåяcо
4
Enforcer
2. Sep. 2011.
Dane wrote on September 2, 2011, 4:00 pm:
Evo errori ali od includa kad compilam dobijem te errore:
C:\Documents and Settings\Dejan\Desktop\Noxicus\pawno\include\G_ObjectsRot.inc(91) : error 004: function "OnObjectRotated" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(4679) : error 017: undefined symbol "SaveBusiness"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(5004) : error 017: undefined symbol "IsVehicleRCVehicle"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(5013) : error 017: undefined symbol "IsVehicleRCVehicle"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(5734) : error 017: undefined symbol "CheckRPName"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(5788) : error 004: function "CreateTunedCar" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(5879) : error 004: function "CreateTunedHeli" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6752) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6764) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6789) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6795) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6815) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6821) : error 004: function "SetVehicleParamsForAll" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6825) : error 017: undefined symbol "MotoSave"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6835) : error 004: function "endrace" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6839) : error 004: function "ReadyRefresh" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6848) : error 004: function "ab" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6850) : error 004: function "ab" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6851) : error 004: function "ab" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6852) : error 004: function "ab" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(6854) : error 004: function "ab" is not implemented
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(7112) : error 017: undefined symbol "D_SetPlayerHealth"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(8474) : error 017: undefined symbol "SaveSBusiness"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(8526) : error 017: undefined symbol "SaveSBusiness"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(8581) : error 017: undefined symbol "SaveSBusiness"
C:\Documents and Settings\Dejan\Desktop\Noxicus\gamemodes\RLRP.pwn(8625) : error 017: undefined symbol "SaveSBusiness"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

26 Errors.


pogledaj koliko imas otvorenih a koliko zatvorenih..(zagrada: {}
Non-Stop Samper
5
Underboss
2. Sep. 2011.
Šta u cijelom modu?Ili u tome includu jbt neda mi se brojat jer to je greška u GM-u šta sam radio kad ništa ne radim bude dobro al kad počnem i dobijem te errore...
Deleted User
Obrisan korisnik
2. Sep. 2011.
Dane wrote on September 2, 2011, 4:27 pm:
Šta u cijelom modu?Ili u tome includu jbt neda mi se brojat jer to je greška u GM-u šta sam radio kad ništa ne radim bude dobro al kad počnem i dobijem te errore...


Omfg,Znas li ti uopste sta je include?! o.O

Imas 7 otvorenih zagrada ( { ) a 6 zatvorenih zagrada ( } )
Zaboravio si negde da dodas }
Pronadji gde nisi zatvorio i dodaj
Deleted User
Obrisan korisnik
2. Sep. 2011.
    if(dialogid == ahdialog)
{
    switch(listitem)
{
                          case 0:
                            {
          if (PlayerInfo >= 1)
          {
                          SendClientMessage(playerid, COLOR_GREEN, "================================================================");
      SendClientMessage(playerid, COLOR_GRAD1, "| ADMIN DUZNOST | /aon /aoff ");
        SendClientMessage(playerid, COLOR_GRAD1, "| ADMIN CHAT | /ao, /a(dmin) chat, /cnn");
        SendClientMessage(playerid, COLOR_GRAD1, "| ADMIN KOMANDE | /check, /setint, /goto, /ubij, /respawncar, /headovi, /sethp, /setarmor");
                              SendClientMessage(playerid, COLOR_GRAD1, "| ADMIN KOMANDE | /kick, /upozori, /ban, /utisaj, /prison, /jail");
  SendClientMessage(playerid, COLOR_GREEN, "================================================================");
                              return 1;
}
}
                          case 1:
                            {
                              if (PlayerInfo >= 2)
                            {
          SendClientMessage(playerid, COLOR_GREEN, "================================================================");
      SendClientMessage(playerid, COLOR_GRAD2,"| ADMIN | /freeze, /unfreeze, /bigears, /recon, /setteam, /cnn, /skydive");
          SendClientMessage(playerid, COLOR_GREEN, "================================================================");
                              return 1;
}
}
                          case 2:
                            {
                              if (PlayerInfo >= 3)
          {
          SendClientMessage(playerid, COLOR_GREEN, "================================================================");
      SendClientMessage(playerid, COLOR_GRAD3,"| ADMIN | /noooc, /fourdive, /sp, /endround, /mark, /gotomark, /gotols, /gotolv, /gotosf");
      SendClientMessage(playerid, COLOR_GRAD4,"| ADMIN | /getcar, /gotocar, /oldcar, /gethere, /setvirtual");
          SendClientMessage(playerid, COLOR_GREEN, "================================================================");
  return 1;
    }
                        }
              }
        }

Kod case 0 i case 1 fali ti } zagrada. Eto podesio sam ti to.
Rey_McShakur
4
Shot Caller
3. Sep. 2011.
//
Non-Stop Samper
5
Underboss
3. Sep. 2011.
Gagi hvala radi...
@Moderatori lockajte temu ako bude kakvi problema poslat ću nekom na PM da mi proba riješit ili otvorim novu temu....

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha