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

database command (PHPMYADMIN)

It's much easier to use a mod than add it through PHPMYADMIN

Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Items" author="8408323" enabled="yes">
	<config name="items_config"><![CDATA[
		config = {
			storage = 30001,
		}
	]]></config>

	<event type="login" name="Items" event="script"><![CDATA[
		domodlib('items_config')

		function onLogin(cid)
			if(getPlayerStorageValue(cid, config.storage) > 0) then
				return true
			end
				doPlayerAddItem(cid, [COLOR="#FF0000"]2650[/COLOR], 1)
			end
			setPlayerStorageValue(cid, config.storage, 1)
			return true
		end
	]]></event>
</mod>
Something like that should work. Just let me know if it doesn't work. :)

p.s just edit the red text "2650" to the item id that you want all players to get
 
Last edited:
Also
SQL:
UPDATE `player_depotitems` SET `itemtype` = 1000 WHERE `itemtype` = 1001;
UPDATE `tile_items` SET `itemtype` = 1000 WHERE `itemtype` = 1001
 
Last edited:
Back
Top