Započeo Dane
•2. Sep. 2011.• Zaključano[Pomoc]Oko komande /ah
1,393
pregleda
12
postova
Underboss
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
528
Postovi:
88
Teme:
Pridružio se:Jun 2011
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:
Komanda:
Define:
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
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 10010Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Underboss
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
528
Postovi:
88
Teme:
Pridružio se:Jun 2011
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.
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
67
Postovi:
20
Teme:
Pridružio se:Avg. 2011
Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
329
Postovi:
21
Teme:
Pridružio se:Mar. 2011
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: {}
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
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.
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava