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

Pacc on Sqm

Zool

Banned User
Joined
Jun 9, 2009
Messages
742
Reaction score
5
Location
Poland/St Wola
Search script Pacc for sqm

When player with premmium acc stay on sqm (aid or uid ****) Nothing.


When player with free acc stay on sqm (aid or uid ****) teleported him one sqm left (<)


rep + ofc
 
Set tile action ID = 9922
Movements.xml add
Code:
	<movevent type="StepIn" actionid="9922" event="script" value="Premtile.lua"/>
Premtile.lua
Lua:
local pos = {x = 32060, y = 32193, z = 7}
 --Position where player gets teleported if he DOES NOT HAVE premium
function onStepIn(cid, item, position, fromPosition)
	if(not(isPremium(cid))) then
		doTeleportThing(cid, pos)
		doSendMagicEffect(pos, CONST_ME_TELEPORT)
	end
	return true
end
(Yea I know, it can be shorter...)
 
Thx ;* rep ++ ofc but can u say how make to when player get teleported him see You dont have premmium ?
Omg i must give other pll rep :| i give u last time and cant now :////


And how make to player cant enter aid **** ??
 
Last edited:
Just make 3 premium thing Normal - Premium - Vip.
Only the VIP can enter the tile, since your have to buy premium later on
this is just for like an evo map, but that all i know :)
 
Lua:
  local pos = {x = 32060, y = 32193, z = 7}
 --Position where player gets teleported if he DOES NOT HAVE premium
function onStepIn(cid, item, position, fromPosition)
        if(not(isPremium(cid))) then
                doTeleportThing(cid, pos)
                doSendMagicEffect(pos, CONST_ME_TELEPORT)
		doPlayerSendTextMessage(cid,22,"Sorry, but you need to have premium account to pass.")
        end
        return true
end
 
Back
Top