Elox
http://elox.se/
Going to make a quest, the reward of the quest will be that you can enter a room.
I need some sort of teleport or door that only allows players with a certain storagevalue/quest can enter.
Can't get it to work.
I tried to to do like this..
..but that didn't work, I'm not good at scripting so I need your help (only got COPY&PASTskillz)
So anyone got an idea? As I said does not have to be a teleport script can also be some sort of door.
-EDIT-
Solved it myself.
I need some sort of teleport or door that only allows players with a certain storagevalue/quest can enter.
Can't get it to work.
I tried to to do like this..
Code:
local pos = {x=511, y=380, z=6}
function onUse(cid, item, fromPosition, itemEx, toPosition)
queststatus = getPlayerStorageValue(cid,1013)
if queststatus == 1 then
doTeleportThing(cid, pos, TRUE)
return TRUE
end
So anyone got an idea? As I said does not have to be a teleport script can also be some sort of door.
-EDIT-
Solved it myself.
Last edited: