Jump to content

Question

Posted

can someone help me ,

 

im requesting for this script

 

1. NPC that will give item

2. the npc will only give to the selected account id. 

example

200004,20006,200030 and so on 

 

3. and can only obtained once

 

Thank you.

1 answer to this question

Recommended Posts

  • 0
Posted
map,x,x,x	script	Sample	x,{
	if(getcharid(3) == 2000004 || getcharid(3) == 2000006|| getcharid(3) == 2000030){
		if (#EVENT_REWARD <= 0) {
			#EVENT_REWARD = gettimetick(2);
			getitem 501, 1;
			getitem 501, 2;
			getitem 501, 3;
			mes "You gained reward.";
			close;
		}
	}
	end;
}

Haven't tried this but it should do the trick. If you want to make it itembound then use getitembound2.

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