CharlesHudson
Just alive, or just breathing...
- Joined
- Oct 25, 2011
- Messages
- 98
- Reaction score
- 14
Hi! Today i ask for some help, with this script, this is no for TFS 1.0 but i really need it
Lua:
Login.lua
Creaturescripts.xml
Thanks, Have a nice day
Lua:
Code:
local freeBlessMaxLevel = 80
function onLogin(cid)
if(getPlayerLevel(cid) <= freeBlessMaxLevel and not getPlayerBlessing(cid,1)) then
for b=1, 5 do
doPlayerAddBlessing(cid, b)
end
doCreatureSay(cid, 'BLESS', TALKTYPE_ORANGE_1)
doSendMagicEffect(getThingPosition(cid), CONST_ME_HOLYDAMAGE)
end
return true
end
Login.lua
Code:
registerCreatureEvent(cid, "freebless")
Creaturescripts.xml
Code:
<event type="login" name="freebless" event="script" value="others/freeblesslowlevel.lua"/>
Thanks, Have a nice day