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

Lua TFS 8.50 position when pacc eding

Pit2

New Member
Joined
Mar 27, 2009
Messages
71
Reaction score
0
Greet need script e.g. if it will be transmitted after for on pacc end player log in temple facc
 
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=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>

Paste it into mods :) Just change kickpos to your temple pos :)
 
i must pase this to what file new file in mods and pase this all ??

i load this and when i loging on pacc city on facc haracter this kiking me to acc list and can't login
all hars kiking 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 }

}
]]></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!")
else
return false
end
return true
end
]]></event>

<event type="login" name="PaccInformation" event="buffer"><![CDATA[
registerCreatureEvent(cid, "PaccInformation")
_result = true
]]></event>
</mod>
 
Use 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=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>
 
Use 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
 
too can't login :/ kicking to character list with no reson all players pacc and facc

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) <= 1 then
				return true
		end	
		return true
	end
	]]></event>

    <event type="login" name="PaccInformation" event="buffer"><![CDATA[
        registerCreatureEvent(cid, "PaccInformation")
        _result = true
    ]]></event>
</mod>
 
Back
Top