LUA:
function onStepIn(cid, item, pos)
if isPlayer(cid) == TRUE then
if (item.actionid == 4040) then
doPlayerSendTextMessage(cid,19,"You are now a citizen of Thais.")
doSendMagicEffect(pos, CONST_ME_HITBYFIRE)
doPlayerSetTown(cid,7)
end
end
end
Everything seems to work aside from the magic effect part of it and for the life of me I can't figure out why it's not showing the effect. TFS 0.4 3777
Thank you!