freddzor11
Member
- Joined
- May 25, 2009
- Messages
- 695
- Reaction score
- 5
Hello, I want that many vocations can enter not just one like in this script
Code:
function onStepIn(cid, item, frompos, item2, topos)
local vocation = getPlayerVocation(cid)
local nvtp = {x=1000, y=1000, z=7}
local vtp = {x=1001, y=1001, z=7}
if vocation == 12 then
doCreatureSay(cid, "Welcome!", TALKTYPE_ORANGE_1)
doTeleportThing(cid, vtp, TRUE)
else
doCreatureSay(cid, "Only Epic's are allowed to enter.", TALKTYPE_ORANGE_1)
doTeleportThing(cid, nvtp, FALSE)
end
end