Forum

> > CS2D > Scripts > Tibia Error
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Tibia Error

11 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Tibia Error

Salem97
User Off Offline

Zitieren
any help ?this error in tibia script by me any Ayo LUA ERROR: sys/lua/cs2dtibia/admin.lua:223: '<eof>' expected near 'elseif'

here is the line 223     

     elseif command =='k' then

what wrong ?

alt no work

Salem97
User Off Offline

Zitieren
LUA ERROR: sys/lua/cs2dtibia/admin.lua:223: '<eof>' expected near 'elseif'
that is full code
elseif command =='k' then
local target = tonumber(words:sub(3))
if target then
if player(target,'exists') then
parse("kick " .. target)
end
end

alt Re: Tibia Error

Mora
User Off Offline

Zitieren
don't you know what means "eof"? put it in somewhere where it needs, check for it...
*<eof- end of function>

alt this full

Salem97
User Off Offline

Zitieren
this is full

Spoiler >

alt Re: Tibia Error

VADemon
User Off Offline

Zitieren
user Salem97this is not the full function, you fool. But once you add one "end" to the end, it shouldn't give any errors

alt Re: Tibia Error

Salem97
User Off Offline

Zitieren
vademon i added end but
LUA ERROR: sys/lua/cs2dtibia/admin.lua:223: '<eof>' expected near 'elseif'

can u give me full code ?

alt Re: Tibia Error

VADemon
User Off Offline

Zitieren
user Salem97, do you realize that I need the full code from YOU before I can fix it and hand in the fixed full code?

alt Re: Tibia Error

Mora
User Off Offline

Zitieren
@user Salem97: maybe you haven't work code.. just your s**t isn't finished script, you don't even show us full s**t code...
if you got tibia-impossible to have only those s**t scripts:
Spoiler >

this "code" is totaly wrong...where is any addhooks?

My english -.-

alt Re: Tibia Error

Yates
Reviewer Off Offline

Zitieren
Give us your admin.lua and we'll find the function ourselves.

alt this full

Salem97
User Off Offline

Zitieren
this bro :

Spoiler >
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht