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

Npc only sell 1 item..

Teddy

SweStream.se
Joined
Oct 2, 2008
Messages
3,797
Reaction score
10
Location
Sweden 172
Like the titel.. this npc only sell 1 item but i have added 2 :S ?
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Gray Illegal Drug Dealer" script="default.lua" walkinterval="2000" floorchange="0">
    <health now="100" max="100"/>
    <look type="366" head="21" body="95" legs="113" feet="115" addons="3"/>
    <parameters>
    <parameter key="message_greet" value="Hmmff Welcome Sniff Sniff Welcome Aaahh.. , Im so high |PLAYERNAME|!" />
	        <parameter key="message_sendtrade" value="Hmmfff Hope you find... something.. interesting."/>
               <parameter key="module_shop" value="1"/>
			        <parameter key="shop_buyable" value="cocaine,2692,20000;" />
					<parameter key="shop_buyable" value="tobacco,11245,10000;" />
		<parameter key="message_oncloseshop" value="Welcome back and dont tell the cope.. hmff..."/>
    </parameters>
</npc>
 
XML:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Gray Illegal Drug Dealer" script="default.lua" walkinterval="2000" floorchange="0">
    <health now="100" max="100"/>
    <look type="366" head="21" body="95" legs="113" feet="115" addons="3"/>
    <parameters>
    <parameter key="message_greet" value="Hmmff Welcome Sniff Sniff Welcome Aaahh.. , Im so high |PLAYERNAME|!" />
	        <parameter key="message_sendtrade" value="Hmmfff Hope you find... something.. interesting."/>
               <parameter key="module_shop" value="1"/>
			        <parameter key="shop_buyable" value="cocaine,2692,20000;tobacco,11245,10000" />
		<parameter key="message_oncloseshop" value="Welcome back and dont tell the cope.. hmff..."/>
    </parameters>
</npc>

Take all in one line, with a ';' in the end of each one.
 
Back
Top