• 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!

Requesting 2 things, [[Action]]

Wezza

lua nOOb
Joined
May 31, 2008
Messages
2,278
Reaction score
31
Hello folks,

I'm requesting two things for my server, World of Titanium RPG!

First thing, is a script, where I press right-click on example, a statue, it teleports me to position, x - y - z,
just put random position,

Second thing, if its possible to make a mana-potion,
that's 100x, when someone click on it, it loses the number of charges on it, example when someone use it, it tells..
You have used 1x mana-potion of 100x, there's 99 charges left.

If its also possible to make it like theotserver.com/
where there's NPC to re-charge this mana-potion!

I'm using: The Forgotten Server, version 0.3.1 (Crying Damson) client: 8.40!
 
Last edited:
First script
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local pPos = {x=100,  y=100, z=7}
	doSendMagicEffect(cid, CONST_ME_POFF) 
	doTeleportThing(cid, pPos)
	doSendMagicEffect(getCreaturePosition(cid), CONST_ME_ENERGYAREA)
	return true
end

Put the action id from XML :)

Second script:
Possible but you'll have to use storages I think :)
As the guy posted above, it's a script (command)
 
Thanks for all, rep++, really helped me a lot!

-I will keep bumping this, just for there might be other people who need these scripts, [Thanks again]-
 
Back
Top