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

Solved Premium Tile

korff

New Member
Joined
Sep 11, 2009
Messages
78
Reaction score
3
How can i change this "doTeleportThing(cid, fromPosition)" for a new position , like temple position...588 648 7

function onStepIn(cid, item, position, fromPosition)
if isPremium(cid) == false then
doTeleportThing(cid, fromPosition)
doPlayerSendTextMessage(cid, 25, "Only vip accounts can acess this area.")
else
doPlayerSendTextMessage(cid, 25, "Welcome to Vip Area.")
end
return true
end
 
Code:
function onStepIn(cid, item, position, fromPosition)
	if not isPremium(cid) then
		doTeleportThing(cid, [B]{[COLOR="Red"]x[/COLOR] = [COLOR="Red"]100[/COLOR], [COLOR="Red"]y[/COLOR] = [COLOR="Red"]100[/COLOR], [COLOR="Red"]z[/COLOR] = [COLOR="Red"]7[/COLOR]}[/B])
		doPlayerSendTextMessage(cid, 25, "Only vip accounts can acess this area.")
	else
		doPlayerSendTextMessage(cid, 25, "Welcome to Vip Area.")
	end
end
 
Back
Top