Jump to content
  • 0
ThyroDree

Freebies NPC [ Modified ]

Question

anyone can help me how to make a freebies NPC that will auto every new account also the Freebies NPC gives a Choices of item sets if STR Set, INT Set, Dex Set, AGI Set.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
prontera,150,150,5	script	freebie_set	999,{if (#freebie_set){ 	mes "You have already claimed your freebies";	close;}OnPCLoginEvent:	if (#freebie_set){ end; }	mes "Select Freebie Set";	switch(select("STR:INT:VIT:LUK:DEX:AGI")){		case 1:			getitem STR_SET1,1;			getitem STR_SET2,1;			#freebie_set = 1;			break;		case 2:			getitem INT_SET1,1;			getitem INT_SET2,1;			#freebie_set = 2;			break;		case 3:			getitem VIT_SET1,1;			#freebie_set = 3;			break;		case 4:			getitem LUK_SET1,1;			#freebie_set = 4;			break;		case 5:			getitem DEX_SET1,1;			#freebie_set = 5;			break;		case 6:			getitem AGI_SET1,1;			#freebie_set = 6;			break;	}	close;}

setting #freebie_set to different values will give you ability to track which set the player as chosen like to check

 

if (#freebie_set==6){ mes "You have already taken AGI Set as Freebies"; } 

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.