<?xml version="1.0" encoding="UTF-8"?>
<mod name="Pacc information" version="1.0" author="Legolas23" contact="otland.net" enabled="yes">
<config name="PaccInformation"><![CDATA[
config = {
kickpos = { x=1234, y=123, z=4, stackpos=1 }
}
]]></config>
<event type="login" name="PaccInformation" event="script"><![CDATA[
domodlib('PaccInformation')
function onLogin(cid)
if getPlayerPremiumDays(cid) == 0 then
doTeleportThing(cid, config.kickpos)
doPlayerSendTextMessage(cid, 25, "Your premium time has ran out!")
else
return false
end
return true
end
]]></event>
<event type="login" name="PaccInformation" event="buffer"><![CDATA[
registerCreatureEvent(cid, "PaccInformation")
_result = true
]]></event>
</mod>
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Pacc information" version="1.0" author="Legolas23" contact="otland.net" enabled="yes">
<config name="PaccInformation"><![CDATA[
config = {
kickpos = { x=1234, y=123, z=4, stackpos=1 }
paccStorage = 45322
}
]]></config>
<event type="login" name="PaccInformation" event="script"><![CDATA[
domodlib('PaccInformation')
function onLogin(cid)
if getPlayerPremiumDays(cid) == 0 then
doTeleportThing(cid, config.kickpos)
doPlayerSendTextMessage(cid, 25, "Your premium time has ran out!")
setPlayerStorageValue(cid, config.paccStorage, (getPlayerStorageValue(cid, config.paccStorage)+1))
else
if getPlayerStorageValue(cid, config.paccStorage) <= 0 then
return true
end
return true
end
]]></event>
<event type="login" name="PaccInformation" event="buffer"><![CDATA[
registerCreatureEvent(cid, "PaccInformation")
_result = true
]]></event>
</mod>
too can't login :/ kicking to character list with no reson all players pacc and faccUse this
Code:<?xml version="1.0" encoding="UTF-8"?> <mod name="Pacc information" version="1.0" author="Legolas23" contact="otland.net" enabled="yes"> <config name="PaccInformation"><![CDATA[ config = { kickpos = { x=661, y=123, z=7, stackpos=1 } paccStorage = 45322 } ]]></config> <event type="login" name="PaccInformation" event="paccinformation"><![CDATA[ domodlib('PaccInformation') function onLogin(cid) if getPlayerPremiumDays(cid) == 0 then doTeleportThing(cid, config.kickpos) doPlayerSendTextMessage(cid, 25, "Your premium time has ran out!") setPlayerStorageValue(cid, config.paccStorage, (getPlayerStorageValue(cid, config.paccStorage)+1)) else if getPlayerStorageValue(cid, config.paccStorage) <= 0 then return true end return true end ]]></event> <event type="login" name="PaccInformation" event="buffer"><![CDATA[ registerCreatureEvent(cid, "PaccInformation") _result = true ]]></event> </mod>
too can't login :/ kicking to character list with no reson all players pacc and facc
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Pacc information" version="1.0" author="Legolas23" contact="otland.net" enabled="yes">
<config name="PaccInformation"><![CDATA[
config = {
kickpos = { x=661, y=123, z=7, stackpos=1 }
paccStorage = 45322
}
]]></config>
<event type="login" name="PaccInformation" event="paccinformation"><![CDATA[
domodlib('PaccInformation')
function onLogin(cid)
if getPlayerPremiumDays(cid) == 0 then
doTeleportThing(cid, config.kickpos)
doPlayerSendTextMessage(cid, 25, "Your premium time has ran out!")
setPlayerStorageValue(cid, config.paccStorage, (getPlayerStorageValue(cid, config.paccStorage)+1))
else
if getPlayerStorageValue(cid, config.paccStorage) <= 1 then
return true
end
return true
end
]]></event>
<event type="login" name="PaccInformation" event="buffer"><![CDATA[
registerCreatureEvent(cid, "PaccInformation")
_result = true
]]></event>
</mod>