• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Rebirth door and Rebirth spells

241890

New Member
Joined
Aug 21, 2010
Messages
18
Reaction score
0
Could someone tell me how i make a spell that is based on Rebirth for example (exana ultra hur) i want it for rebirth 500, how do i do?

And the other problem is with the doors, i want it to show rebirth instead of levels when i shift click on a expertise door , like the one in the picture below.

would be awesome if someone could help me, Thanks!

 
for door
Code:
local str = 456 -- rebirth storage
local rebirth = 5 -- rebirth to pass the door
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getCreatureStorage(cid, str) >= rebirth then
if getCreaturePosition(cid).x < toPosition.x then
doTeleportThing(cid, {x=toPosition.x+1,y=toPosition.y,z=toPosition.z}, true)
else
doTeleportThing(cid, {x=toPosition.x-1,y=toPosition.y,z=toPosition.z}, true)
end
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
end
return false
end
 
About the second problem is in source.

About first problem only need to put the @EvilSkillz script in actions and the action in door, don't forget to set one storage for rebirth.
 
What you guys mean with storage? could you explain for me what a storage is and how do i fix a storage? (sry for being a nub) :p
 
Back
Top