I finished making a script and as I decided to test I got an error which said <eos> expected near else.
Im not sure if in being stupid but here's what I wrote
if DestrierandGepard == nil then gg.alert('Canceled') end
else
if DestrierandGepard[1] == true then Destrier() end
if DestrierandGepard[2] == true then Gepard() end
if DestrierandGepard[3] ==true then Back() end
end
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
LekanAk
I finished making a script and as I decided to test I got an error which said <eos> expected near else.
Im not sure if in being stupid but here's what I wrote
if DestrierandGepard == nil then gg.alert('Canceled') end
else
if DestrierandGepard[1] == true then Destrier() end
if DestrierandGepard[2] == true then Gepard() end
if DestrierandGepard[3] ==true then Back() end
end
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.