Jump to content

Question

Posted
hello can anyone help me 

Im doing a 12v12 Event and i want to provide all the items and Supplies that it needs 
  
 what i need is An NPC that after i Summoned them in a Event Area they can Click the npc and get the items
      * all items that i can put and it will vanished after they leave a map or maybe after an hour ( like a rental items ) 
 

 

1 answer to this question

Recommended Posts

  • 1
Posted
prontera,155,181,5	script	Sample#rent	4_F_KAFRA1,{
	for (.@i = 0; .@i < .item_id_size; .@i++) 
		if (!countitem(.item_id[.@i]))
			rentitem .item_id[.@i], .rental_duration;
	end;
	
	OnInit:
		.rental_duration = 3600;
		setarray .item_id, 5001, 5002, 5003;
		
		.item_id_size = getarraysize(.item_id);
		end;
}

 

  • Upvote 1
  • Love 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...