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

Characters / Starter Items

anubis131

New Member
Joined
Nov 4, 2009
Messages
117
Reaction score
0
Location
england
Hello When People Make Chars It Says There World ID = 0

How do i get it to be = 1


and people start with no items :/
 
Change it in ur phpmyadmin or in ur sqlite database if u are using mysql just place in ur webpage "gesior or modern"
if u are using "player samples" equip each vocation with set (whatever u want) or just add a mod called firstitems.xml

firstitems.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="First Items" version="1.0" author="Wingate" contact="[email protected]" enabled="yes">
	<config name="firstitems_config"><![CDATA[
		config = {
			storage = 30001,
			items = {2050, 2382}
		}
	]]></config>
	<event type="login" name="FirstItems" event="buffer"><![CDATA[
		domodlib('firstitems_config')
		if(getPlayerStorageValue(cid, config.storage) > 0) then
			return
		end

		for _, id in ipairs(config.items) do
			doPlayerAddItem(cid, id, 1)
		end

		if(getPlayerSex(cid) == PLAYERSEX_FEMALE) then
			doPlayerAddItem(cid, 2651, 1)
		else
			doPlayerAddItem(cid, 2650, 1)
		end

		doAddContainerItem(doPlayerAddItem(cid, 1987, 1), 2674, 1)
		setPlayerStorageValue(cid, config.storage, 1)
	]]></event>
</mod>

add this in ur "mods" carpet

srry really bad english
 
Last edited:
Back
Top