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

Help!

Exedion

Active Member
Joined
Jun 11, 2007
Messages
628
Reaction score
30
i dont know what happend with this script but dont work! can someone explain me?

Code:
function onStepIn(cid, item, pos)

	novapos = {x=245, y=828, z=14}
	playerpos = getPlayerPosition(cid) 

    if item.uid == 20001 then
        if getPlayerStorageValue(cid,1234561) == -1 then
		getThingfromPos(playerpos) 
		doTeleportThing(cid,novapos) 
            doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'Sorry, but you did not absorb enough energy!')
        else
		doSendMagicEffect(pos, CONST_ME_ENERGYHIT)
            doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You absorbed enough energy! You may pass.')
        end
 
Last edited:
can you help me with new script¿ i need a moveenvent script quest, when a plate step in the floor, they check a storagevule and if the player no have the storage, they teleport to other place, can you help me with that?
 
Back
Top