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

Premium Tile

Godely

Member
Joined
Aug 19, 2007
Messages
233
Reaction score
16
Can someone do that scripts? The player only pass if he is premium.

Thanks
 
I will post it when I get home if Empty don't see this before me. If you cannot wait, download the OT from my signature and look into data/movements/scripts and you find it there. 'PremiumPass.lua'
 
PHP:
function onStepIn(cid, item, pos)

pos1 = {x=, y=, z=, stackpos=1}
item1 = getThingfromPos(pos1)

if item.actionid == 1000 then
if isPlayer(cid) == 1 then
if getPlayerPremiumDays(cid) >= 1 then
else
doTeleportThing(cid, pos1, 0)
doPlayerSendTextMessage(cid,22,'You must have premium account!')
end
end
end
return 1
end

xD
And you must put x,y,z
 
deamon123, tab your scripts, it makes it much more easier ro read and to check for errors, other than that, Godely, use the search function, quicker and easier.
 
Back
Top