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 ?
Intr
- [RaffaeL]
-

- Mesaje: 3223
- Membru din: 19 Mar 2016, 12:58
- Server: ...
- Aprecieri: 15
- Mulţumiri: 2502
- Rezolvări prob.: 2
- Discord: Copiază ID
- Contact:
"`}' expected (to close `{' at line 2) near `" [GA]aLiX"'"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 ?
Iti lipseste acea "}", care inchide.Corecteaza si reinstaleaza questul.
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
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
- Hades ✔
-

- Mesaje: 3363
- Membru din: 22 Aug 2016, 18:35
- Server: Hades World
- Aprecieri: 104
- Mulţumiri: 824
- Discord: Copiază ID
- Contact:
{
{"[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"}, " .
hades1997 scrie:
{
{"[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
- Hades ✔
-

- Mesaje: 3363
- Membru din: 22 Aug 2016, 18:35
- Server: Hades World
- Aprecieri: 104
- Mulţumiri: 824
- Discord: Copiază ID
- Contact:
{
{"[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.
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.
{"[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.
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.
- [RaffaeL]
-

- Mesaje: 3223
- Membru din: 19 Mar 2016, 12:58
- Server: ...
- Aprecieri: 15
- Mulţumiri: 2502
- Rezolvări prob.: 2
- Discord: Copiază ID
- Contact:
Intotdeauna este bine sa te uiti de doua ori inainte...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.
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
endMultumesc frumos. T/C[RaffaeL] scrie:Intotdeauna este bine sa te uiti de doua ori inainte...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.
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
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Semrush [Bot] și 6 vizitatori




