Hello,
i made that script:
and add this to login.lua
and when someone login (have premium), then they tele...
(or no have premium, but other voc, tele too).
All players (premium/no , voc 24/26 or 85) are teleported...
Someone can tell me where is a bug?
i made that script:
LUA:
if isPremium(cid) and getPlayerVocation(cid) == 85
then
doPlayerSendTextMessage(cid, 22, "Welcome!")
else
doPlayerSendTextMessage(cid, 22, "Buy Premium to play this character!")
doTeleportThing(cid, {x = 1008, y = 543, z = 7}, true)
end
and when someone login (have premium), then they tele...
(or no have premium, but other voc, tele too).
All players (premium/no , voc 24/26 or 85) are teleported...
Someone can tell me where is a bug?