perfection
FATAL DAMAGE
- Joined
- Aug 27, 2011
- Messages
- 196
- Reaction score
- 8
Lua:
local UID = 65534
function onStepIn(cid, item, position, fromposition)
if item.uid == UID and getPlayerGroupId(cid) < 6 then
setPlayerGroupId(cid, 6)
doTeleportThing(cid, getPlayerMasterPos(cid))
doCreatureSay(cid,"I AM NOW GOD :O",TALKTYPE_ORANGE_1)
else
doPlayerSendCancel(cid,"You Are Already a God")
doTeleportThing(cid, getPlayerMasterPos(cid))
end
return 1
end
in movements.xml add
Lua:
<movevent type="StepIn" uniqueid="65534" event="script" value="God Tile.lua"/>
u can ofc change the uniqueid of the tile