Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
Just having fun:
function onStepIn(cid, item, position, fromPosition)
return isPlayer(cid) and (getPlayerLevel(cid) <= 400) and (getPlayerAccess(cid) <= 1) and doPlayerSendCancel(cid,"Only players with level 400 or more may pass!") and doTeleportThing(cid, fromPosition, true) and...
@Cronox.
No estoy seguro que funcione con ese script, habria que ver como funciona ese sistema al agregar dias vip.
@elking
The problem I see there is that the vip isnt being removed when the days are over.. Post here you script to add vip days and I will make a script to remove automatically...
Im trying to make a JS Clock.. I already done it, the problem is its based on clients local time and everyone have a different time.. it also means that if your pc clock is showing the wrong time, then you will also see that wrong time on web, so I tried to make it based on php function time()...
If days arent removed when char offline, then it should not remove it also when char is online because days removal doesnt have anything to be with character on or off.
- - - Updated - - -
I would have tochange the whole system since its based on all account.
If you using linux I think you have to use Adel the skinny ass on the script instead of adel the skinny ass on this line:if creature == "adel the skinny ass" then
When you use 2 times the same param on a variable you just replace, you dont add it..
You have to create more combat objects like:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT...
Im not sure what you want, but try this..
]]></movevent>
<movevent type="StepIn" actionid="3435" event="script"><![CDATA[
domodlib('CTF')
domodlib('CTF-lib')
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if...
function onStepIn(cid, item, position, fromPosition)
return getPlayerLevel(cid) >= 30 and true or doTeleportThing(cid, fromPosition) and doPlayerSedTextMessage(cid, 22, "You need level 30+")
end
There you go..