Jump to content
  • 0

Item Shop Sript


Ardrich

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  01/19/13
  • Last Seen:  

Can anybody help me with this?

-	shop	Armor::shop	-1,2306:100000,2315:1000000,2310:50000,2302:5000,2320:1000000,2317:1000000,2319:1000000,2354:1000000,2373:1000000,2304:10000,2342:1000000,2318:1000000,2372:1000000,2308:1000000,2311:1000000,2359:1000000,2353:1000000,2313:1000000,2371:10000,2360:1000000,2326:1000000,2324:1000000,2322:500000,2333:500000,2336:1000000,2331:1000000,2338:1000000,2329:50000
turbo_room,75,140,4	script	Armor	752,{
	callshop "Armor::shop",0; end;
OnInit:
	waitingroom "Sale!",0; end;
}

Everytime i click the npc its show error in my server.

 

Here's the error

 

[Error]: buildin_callshop: Shop [Armor::shop] not found (or NPC is not shop type)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

BE SURE TO DELETE BOTH COLONS   ":"
those are used in script language for other purposes such as separating references and stuff.
 
 
shop Armorshop

callshop "Armorshop",0; end;

 
Edited by iraciz
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

anything after the "::" in a npc name will become the main npc name.

 

in your case, the npc name should be

shop

callshop "shop";
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...