Errori i warning

Započeo Akisha., Maj 29, 2020, 17:38:02 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning):(24944) : error 017: undefined symbol "RP"
(24944) : warning 215: expression has no effect
(24944) : error 001: expected token: ";", but found ")"
(24944) : error 029: invalid expression, assumed zero
(24944) : fatal error 107: too many error messages on one line
Dio skripte:    if(!IsPlayerConnected(playerid)) return SCM(playerid, -1,{IF:RP}"Nisi konektovan.");
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):nije ig
Slika/video ingame problema(obavezno ako je ingame problem):nije ig

[pawn]if(!IsPlayerConnected(playerid)) return SCM(playerid, -1,"{IF:RP} Nisi konektovan.");[/pawn]

sada imam nova 4 errora (24945) : error 029: invalid expression, assumed zero
(24945) : error 017: undefined symbol "RP"
(24945) : error 029: invalid expression, assumed zero
(24945) : fatal error 107: too many error messages on one line
evo mi je deo skripte
  if(PlayerInfo[playerid][pAdmin] <= 6) return SCM(playerid,-1,[IF:RP]Upisali ste komandu koja ne postoji!");


[pawn]  if(PlayerInfo[playerid][pAdmin] <= 6) return SCM(playerid,-1,"[IF:RP]Upisali ste komandu koja ne postoji!");[/pawn]

(24946) : error 017: undefined symbol "DIALOG_SKRIPTER"
(24946) : error 017: undefined symbol "FFFFFF"
(24946) : error 017: undefined symbol "Spodesavanja"
(24946) : fatal error 107: too many error messages on one line
nova cetri errora
   ShowPlayerDialog(playerid, DIALOG_SKRIPTER, DIALOG_STYLE_LIST,Server |Kontrola", ""LARPBOJA"- {FFFFFF}Spodesavanja\n"LARPBOJA"- {FFFFFF}Brisanje imovine\n"LARPBOJA"- {FFFFFF}Prodaja svega\n"LARPBOJA"- {FFFFFF}Server\n"LARPBOJA"- {FFFFFF}Registracija Info", "Odaberi", "Odustani");
evo linija


[pawn]ShowPlayerDialog(playerid, DIALOG_SKRIPTER, DIALOG_STYLE_LIST, "Server |Kontrola", ""LARPBOJA"- {FFFFFF}Spodesavanja\n"LARPBOJA"- {FFFFFF}Brisanje imovine\n"LARPBOJA"- {FFFFFF}Prodaja svega\n"LARPBOJA"- {FFFFFF}Server\n"LARPBOJA"- {FFFFFF}Registracija Info", "Odaberi", "Odustani");[/pawn]

Pazi kako koristis ", ako negde otvoris moras i da zatvoris i obrnuto

@alfie izlaze novi errori.
(24946) : error 017: undefined symbol "DIALOG_SKRIPTER"
(24946) : error 017: undefined symbol "LARPBOJA"
(24946) : warning 215: expression has no effect
(24946) : error 001: expected token: ";", but found "-identifier-"
(24946) : fatal error 107: too many error messages on one line

A da sam probas da vidis u cemu je problem? 3 puta postavis , 3 puta ti bude odgovoreno i ti i 4 put postavis komentar gde ti baca errore a isti je problem u pitanju , probaj da negde otvoris pa negde zatvoris , probavaj tako dok ti se ne resi , ili gledaj resenja koja su ti poslata , ne mozemo ti sve na tacni dostaviti :)

Nemas definisano DIALOG_SKRIPTER i LARPBOJA

(24606) : error 028: invalid subscript (not an array or too many subscripts): "ShowPlayerDialog"
(24606) : warning 215: expression has no effect
(24606) : warning 215: expression has no effect
(24606) : error 029: invalid expression, assumed zero
(24606) : warning 215: expression has no effect
(24606) : warning 215: expression has no effect
(24606) : warning 215: expression has no effect
(24606) : warning 215: expression has no effect
(24606) : error 001: expected token: ";", but found "}"
(24606) : fatal error 107: too many error messages on one line
evo je linija
SPD{ playerid, 3000, DSL, "War System", "Kreiraj WAR\nUbaci igraca\nIzbaci igraca", "Ok", "Odustani" };

Citat: Akisha. poslato Maj 30, 2020, 13:30:53 POSLE PODNE
(24606) : error 028: invalid subscript (not an array or too many subscripts): "ShowPlayerDialog"
(24606) : warning 215: expression has no effect
(24606) : warning 215: expression has no effect
(24606) : error 029: invalid expression, assumed zero
(24606) : warning 215: expression has no effect
(24606) : warning 215: expression has no effect
(24606) : warning 215: expression has no effect
(24606) : warning 215: expression has no effect
(24606) : error 001: expected token: ";", but found "}"
(24606) : fatal error 107: too many error messages on one line
evo je linija
SPD{ playerid, 3000, DSL, "War System", "Kreiraj WAR\nUbaci igraca\nIzbaci igraca", "Ok", "Odustani" };


a da probaš stavit () umjesto {}, možda će proradit ? :)

@musoviich bilo je tako al sam editovao i opet error