Intr

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
dennisalex
Utilizator interzis !

Utilizator interzis !
Mesaje: 221
Membru din: 22 Mai 2017, 02:21
Server: Nimic
Regat: Chunjo
Aprecieri: 37  
Mulţumiri: 2  
Medalii

1.Am instalat in root "TEAM-ul" la prieteni, am instalat quest-ul tot, dar nu imi apare echipa, imi apare ca e gol, de ce, sau ce sa ii fac ?
syntax error : [string "start"]:5: `}' expected (to close `{' at line 2) near `" [GA]aLiX"'
Imi da asta la instalarea quest-ului. Stie cineva cum sa il rezolv ?
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

dennisalex scrie:1.Am instalat in root "TEAM-ul" la prieteni, am instalat quest-ul tot, dar nu imi apare echipa, imi apare ca e gol, de ce, sau ce sa ii fac ?
syntax error : [string "start"]:5: `}' expected (to close `{' at line 2) near `" [GA]aLiX"'
Imi da asta la instalarea quest-ului. Stie cineva cum sa il rezolv ?
"`}' expected (to close `{' at line 2) near `" [GA]aLiX"'"

Iti lipseste acea "}", care inchide.Corecteaza si reinstaleaza questul.
Imagine
Imagine
https://www.youtube.com/watch?v=GhYkCIETEto
Do everything, if you know what you're doing, else... Imagine
Ma gasesti si aici: Discord https://discord.gg/5J5GnyZVSR
Afișează semnătura
Avatar utilizator
dennisalex
Utilizator interzis !

Utilizator interzis !
Mesaje: 221
Membru din: 22 Mai 2017, 02:21
Server: Nimic
Regat: Chunjo
Aprecieri: 37  
Mulţumiri: 2  
Medalii

quest gm_list begin
state start begin
when login begin
local gms =
{
{"[SA]Castiel"},
{"[GA]TAIPAN"}
{"[GA]aLiX"}
{"[SGM]Robert"}
}
for i=1, table.getn(gms), 1 do
local name = gms[1]
if name == nil then
return name
end
cmdchat('SetTeamOffline '..name)
end
loop_timer("check_gm", 10)
end
when check_gm.timer begin
local t_gms =
{
{"[SA]Castiel"},
{"[GA]TAIPAN"}
{"[GA]aLiX"}
{"[SGM]Robert"}
}
for i=1, table.getn(t_gms), 1 do
local t_name = t_gms[1]
if t_name == nil then
return t_name
end
if game.get_event_flag(t_name) == 1 then
cmdchat('SetTeamOnline '..t_name)
else
cmdchat('SetTeamOffline '..t_name)
end
end
end
when login with pc.is_gm() begin
local name = pc.get_name()
game.set_event_flag(name, 1)
end
when logout with pc.is_gm() begin
local name = pc.get_name()
game.set_event_flag(name, 0)
end
end
end
asta e quest-ul
Avatar utilizator
Hades ✔
Utilizatorul Lunii Noiembrie

Utilizatorul Lunii Noiembrie
Mesaje: 3363
Membru din: 22 Aug 2016, 18:35
Server: Hades World
Aprecieri: 104  
Mulţumiri: 824  
Discord: Copiază ID
 Contact:
Medalii

dennisalex scrie:quest gm_list begin
state start begin
when login begin
local gms =
{
{"[SA]Castiel"},
{"[GA]TAIPAN"}
{"[GA]aLiX"}
{"[SGM]Robert"}
}
for i=1, table.getn(gms), 1 do
local name = gms[1]
if name == nil then
return name
end
cmdchat('SetTeamOffline '..name)
end
loop_timer("check_gm", 10)
end
when check_gm.timer begin
local t_gms =
{
{"[SA]Castiel"},
{"[GA]TAIPAN"}
{"[GA]aLiX"}
{"[SGM]Robert"}
}
for i=1, table.getn(t_gms), 1 do
local t_name = t_gms[1]
if t_name == nil then
return t_name
end
if game.get_event_flag(t_name) == 1 then
cmdchat('SetTeamOnline '..t_name)
else
cmdchat('SetTeamOffline '..t_name)
end
end
end
when login with pc.is_gm() begin
local name = pc.get_name()
game.set_event_flag(name, 1)
end
when logout with pc.is_gm() begin
local name = pc.get_name()
game.set_event_flag(name, 0)
end
end
end
asta e quest-ul


{
{"[SA]Castiel"},
{"[GA]TAIPAN"}
{"[GA]aLiX"}
{"[SGM]Robert"}
}

Îţi spune clar, care e problema.

Eşti chior nu vezi diferenţa wtf.

Primul nume are " , " după ce închizi paranteza " {"[SA]Castiel"}, " .
Hades World
(New) 2023 Version for Selling!
Discord: hades_97
Server Discord: https://discord.gg/YF27nkC

:flag_gb: :flag_ro: :flag_de: :flag_tr: :flag_pl: :flag_cz: :flag_fr: :flag_pt: :flag_nl: :flag_gr: :flag_hu: :flag_it: :flag_es:

Imagine
Afișează semnătura
Avatar utilizator
dennisalex
Utilizator interzis !

Utilizator interzis !
Mesaje: 221
Membru din: 22 Mai 2017, 02:21
Server: Nimic
Regat: Chunjo
Aprecieri: 37  
Mulţumiri: 2  
Medalii

hades1997 scrie:
dennisalex scrie:quest gm_list begin
state start begin
when login begin
local gms =
{
{"[SA]Castiel"},
{"[GA]TAIPAN"}
{"[GA]aLiX"}
{"[SGM]Robert"}
}
for i=1, table.getn(gms), 1 do
local name = gms[1]
if name == nil then
return name
end
cmdchat('SetTeamOffline '..name)
end
loop_timer("check_gm", 10)
end
when check_gm.timer begin
local t_gms =
{
{"[SA]Castiel"},
{"[GA]TAIPAN"}
{"[GA]aLiX"}
{"[SGM]Robert"}
}
for i=1, table.getn(t_gms), 1 do
local t_name = t_gms[1]
if t_name == nil then
return t_name
end
if game.get_event_flag(t_name) == 1 then
cmdchat('SetTeamOnline '..t_name)
else
cmdchat('SetTeamOffline '..t_name)
end
end
end
when login with pc.is_gm() begin
local name = pc.get_name()
game.set_event_flag(name, 1)
end
when logout with pc.is_gm() begin
local name = pc.get_name()
game.set_event_flag(name, 0)
end
end
end
asta e quest-ul


{
{"[SA]Castiel"},
{"[GA]TAIPAN"}
{"[GA]aLiX"}
{"[SGM]Robert"}
}

Îţi spune clar, care e problema.

Eşti chior nu vezi diferenţa wtf.

Primul nume are " , " după ce închizi paranteza " {"[SA]Castiel"}, " .

Bai "prostule" asa trebuie sa fie quest-ul esti redus? sau tu nu vezi ca asa are si al 2-lea
Avatar utilizator
Hades ✔
Utilizatorul Lunii Noiembrie

Utilizatorul Lunii Noiembrie
Mesaje: 3363
Membru din: 22 Aug 2016, 18:35
Server: Hades World
Aprecieri: 104  
Mulţumiri: 824  
Discord: Copiază ID
 Contact:
Medalii

{
{"[SA]Castiel"},
{"[GA]TAIPAN"}
{"[GA]aLiX"}
{"[SGM]Robert"}
}

Îţi spune clar, care e problema.

Eşti chior nu vezi diferenţa wtf.

Primul nume are " , " după ce închizi paranteza " {"[SA]Castiel"}, " .[/quote]
Bai "prostule" asa trebuie sa fie quest-ul esti redus? sau tu nu vezi ca asa are si al 2-lea[/quote][/spoiler]

Fă-mi un favor, te rog şi împuscă-te, te ajută omul să deschizi ochii şi îl faci prost. Când tu eşti cel mai mare.
Imagine Măcar bine că oameni ca tine îşi deschid servere.
Mai fă după ce îţi instalezi quest-ul, încă 10 topic-uri să îţi spună lumea cum adaugi sau ştergi alti membri din acel quest.
Hades World
(New) 2023 Version for Selling!
Discord: hades_97
Server Discord: https://discord.gg/YF27nkC

:flag_gb: :flag_ro: :flag_de: :flag_tr: :flag_pl: :flag_cz: :flag_fr: :flag_pt: :flag_nl: :flag_gr: :flag_hu: :flag_it: :flag_es:

Imagine
Afișează semnătura
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

dennisalex scrie:Fratie, ori esti dobitoc, ori esti redus mintal, nu are nicio treaba am facut si cum ai zis tu ca mna, am crezut ca sunt eu prost, dar e acelasi lucru ratatule.
Intotdeauna este bine sa te uiti de doua ori inainte...
Poftim, incearca asa:

Cod: Selectaţi tot

quest gm_list begin
state start begin
when login begin
local gms = {
{"[SA]Castiel"},
{"[GA]TAIPAN"},
{"[GA]aLiX"},
{"[SGM]Robert"},
}
for i=1, table.getn(gms), 1 do
local name = gms[i][1]
if name == nil then
return name
end
cmdchat('SetTeamOffline '..name)
end
loop_timer("check_gm", 10)
end
when check_gm.timer begin
local t_gms = {
{"[SA]Castiel"},
{"[GA]TAIPAN"},
{"[GA]aLiX"},
{"[SGM]Robert"},
}
for i=1, table.getn(t_gms), 1 do
local t_name = t_gms[i][1]
if t_name == nil then
return t_name
end
if game.get_event_flag(t_name) == 1 then
cmdchat('SetTeamOnline '..t_name)
else
cmdchat('SetTeamOffline '..t_name)
end
end
end
when login with pc.is_gm() begin
local name = pc.get_name()
game.set_event_flag(name, 1)
end
when logout with pc.is_gm() begin
local name = pc.get_name()
game.set_event_flag(name, 0)
end
end
end
Imagine
Imagine
https://www.youtube.com/watch?v=GhYkCIETEto
Do everything, if you know what you're doing, else... Imagine
Ma gasesti si aici: Discord https://discord.gg/5J5GnyZVSR
Afișează semnătura
Avatar utilizator
dennisalex
Utilizator interzis !

Utilizator interzis !
Mesaje: 221
Membru din: 22 Mai 2017, 02:21
Server: Nimic
Regat: Chunjo
Aprecieri: 37  
Mulţumiri: 2  
Medalii

[RaffaeL] scrie:
dennisalex scrie:Fratie, ori esti dobitoc, ori esti redus mintal, nu are nicio treaba am facut si cum ai zis tu ca mna, am crezut ca sunt eu prost, dar e acelasi lucru ratatule.
Intotdeauna este bine sa te uiti de doua ori inainte...
Poftim, incearca asa:

Cod: Selectaţi tot

quest gm_list begin
state start begin
when login begin
local gms = {
{"[SA]Castiel"},
{"[GA]TAIPAN"},
{"[GA]aLiX"},
{"[SGM]Robert"},
}
for i=1, table.getn(gms), 1 do
local name = gms[i][1]
if name == nil then
return name
end
cmdchat('SetTeamOffline '..name)
end
loop_timer("check_gm", 10)
end
when check_gm.timer begin
local t_gms = {
{"[SA]Castiel"},
{"[GA]TAIPAN"},
{"[GA]aLiX"},
{"[SGM]Robert"},
}
for i=1, table.getn(t_gms), 1 do
local t_name = t_gms[i][1]
if t_name == nil then
return t_name
end
if game.get_event_flag(t_name) == 1 then
cmdchat('SetTeamOnline '..t_name)
else
cmdchat('SetTeamOffline '..t_name)
end
end
end
when login with pc.is_gm() begin
local name = pc.get_name()
game.set_event_flag(name, 1)
end
when logout with pc.is_gm() begin
local name = pc.get_name()
game.set_event_flag(name, 0)
end
end
end
Multumesc frumos. T/C
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

Rezolvat!

[ Postat de pe Android ] Imagine
Imagine
Afișează semnătura
Închis
Răspunsuri
4
Vizualizări
560
Răspunsuri
5
Vizualizări
388
Răspunsuri
10
Vizualizări
802
Răspunsuri
4
Vizualizări
509

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Semrush [Bot] și 6 vizitatori