Jump to content
  • 0

Item price


Worst

Question


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   1
  • Joined:  12/07/13
  • Last Seen:  

Well, my server will be full pvp then modified all items to the purchase price 0, however when placing NPC example 607:0 or 607:-1 emulator accuses one warning. How do I solve this?

3r12YdQ.png

-	shop	test1	-1,608:0
-	shop	test2	-1,607:0

prontera,148,144,5	script	Test Shop	508,{
switch(select("Test 0","Test -1")){
		
	case 1: callshop "test1",1; end;
	case 2: callshop "test2",1; end;

	}	
	OnInit:
	waitingroom "Test",0;
	end;
}

DB item:

607,Yggdrasilberry,Yggdrasil Berry,0,0,,300,,,,,0xFFFFFFFF,63,2,,,,,,{ percentheal 100,100; },{},{}
 
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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

you cant sell anything for free, that's not something you call with "SELL". You totally violated the term "SELL".

 

just set a minimum value of 1 or set another NPC that give away the items for free.

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...