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

Help with npc.

Pietrzak19613

New Member
Joined
Oct 14, 2008
Messages
124
Reaction score
0
Hello i have problem. I make npc

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Amando" script="data/npc/scripts/necklaces.lua" walkinterval="2" floorchange="0">
<health now="100" max="100"/>
<look type="138" head="115" body="0" legs="19" feet="94" addons="2"/>
<parameters>
<parameter key="module_shop" value="3" />
<parameter key="message_greet" value="Welcome |PLAYERNAME]! My name is Amando. May I help you with a {trade}?" />
<parameter key="message_farewell" value="Goodbye and good luck, |PLAYERNAME|." />
<parameter key="message_walkaway" value="Goodbye and good luck." />
</parameters>
</npc>

And i can't load it. [08/11/2009 14:31:10] data/npc/scripts/distance.lua:8: attempt to index global 'shopModule' (a nil value)
 

Similar threads

Back
Top Bottom