Jump to content
  • 0

Freegift NPC


iAmNo7

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  06/19/17
  • Last Seen:  

Hye guys.

I need your help if possible to create 1 freegift NPC for OBT player only.

Currently my server already official launch, but i want to give some reward for those participate in my OBT before.

How can i do this ?

please help me. :)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   4
  • Joined:  05/11/17
  • Last Seen:  

Hey,

 

I think the best for you would be this Script . You can make your Redeem Codes and give them to your OBT Players. And as an additonal Feature: You can use it in the future to, for events or other things!

 

Greetings

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  173
  • Reputation:   9
  • Joined:  11/14/12
  • Last Seen:  

First, check the range of Account IDs of the players who participated during your beta. For example, 2000100 is the last account id created during your beta.

prontera,100,100,3	script	Beta Reward	100,{

if(getcharid(3) <= 2000100){
	if(#cbtreward == 1) {
		mes "You already got your reward!";
        close;
      	}
    //getitem 909,1;
	getitembound 909,1,Bound_Account; // <-- should be bound if you don't want this to be abused.
	mes "Here's your reward!";
	set #cbtreward,1;
	close; }
mes "You're not a beta player, sorry!";
close;
}

 

 

Edited by sotf
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...