1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
addhook("serveraction","my_serveraction")
function my_serveraction(id,action)
if (player(id,"usgn") == <id>) then
if action == 3 then
shootFireball(id)
end
end
end
elseif (player(id,"usgn") == <id>) then
if action == 2 then
shootFireball(id)
end
end
end
1
LUA ERROR sys/lua/fbmod/fireball.lua:9: '<eof>'expected near 'elseif'