Oneda
Aspiring Spriter
Hi there. I got a problem with a REALLY SIMPLE script.
It's not lettin me login, not sure why, console won't show any errors.
XML Tag being used:
OBS: It won't let me login, but console shows my char connecting and disconnecting every time I try to connect.
It's not lettin me login, not sure why, console won't show any errors.
Code:
function onLogin(cid)
local player = Player(cid)
if getPlayerStorageValue(cid, 1337) == -1 then
doPlayerAddSkillTry(player, 0, 50)
setPlayerStorageValue(cid, 1337, 1)
else
return
end
end
XML Tag being used:
Code:
<event type="login" name="UnbugFist" script="unbug_fist.lua"/>
OBS: It won't let me login, but console shows my char connecting and disconnecting every time I try to connect.