BeWan

Script Release: Freebies NPC with Gepard Function (UniqueID)

Recommended Posts

Freebies NPC with Gepard Function (UniqueID)


Freebies NPC with gepard function (UniqueID)

In response to this post 

 


  • Submitter
  • Submitted
    12/26/2019
  • Category
  • Video
  • Content Author
    BeWan

 

Share this post


Link to post
Share on other sites

hi @BeWan or anybody,

 

Can I ask how can I allow like 2 or 3 time a Unique Id can get my freebie?

 

Share this post


Link to post
Share on other sites
1 hour ago, Schmerz said:

hi @BeWan or anybody,

 

Can I ask how can I allow like 2 or 3 time a Unique Id can get my freebie?

 

find:

if(getd("$ID_" + [email protected]_id$) > 0 || #FreebiesReward > 0){
		mes "[Freebies NPC]";
		mes "You have already claimed your Freebies.";
		close;
	}
#FreebiesReward = 1;

and replace with this :

if(getd("$ID_" + [email protected]_id$) == 3 || #FreebiesReward == 3){
		mes "[Freebies NPC]";
		mes "You have already claimed your Freebies.";
		close;
	}
#FreebiesReward = ++1;

 

Edited by BeWan
  • MVP 1

Share this post


Link to post
Share on other sites

can you explain how is UniqueID work?

Share this post


Link to post
Share on other sites
4 hours ago, Bringer said:

can you explain how is UniqueID work?

this function is to avoid spam even if you use proxy. Like getting the mac address or the private ip of your laptop or desktop.

Edited by BeWan

Share this post


Link to post
Share on other sites
14 minutes ago, BeWan said:

this function is to avoid spam even if you use proxy. Like getting the mac address or the private ip of your laptop or desktop.

do you have version for bounditem ?

Share this post


Link to post
Share on other sites
3 hours ago, Bringer said:

my server already have gepard even on test server

you need to contact @Functor

Share this post


Link to post
Share on other sites
20 minutes ago, Bringer said:

i already DM @Functor
image.thumb.png.f4025e379b637e5caf37c0e5d335edd5.png
 

the script is 100% working in gepard. may i ask if you run this on your localhost?

your error generate only if there's no gepard function install on your src.

Share this post


Link to post
Share on other sites
2 minutes ago, BeWan said:

the script is 100% working in gepard. may i ask if you run this on your localhost?

your error generate only if there's no gepard function install on your src.

local and online same src with gepard

Share this post


Link to post
Share on other sites
1 hour ago, Bringer said:

local and online same src with gepard

use the script on your hosted server. 

Share this post


Link to post
Share on other sites
10 minutes ago, BeWan said:

use the script on your hosted server. 

same error

Share this post


Link to post
Share on other sites
On 1/25/2020 at 10:55 AM, Bringer said:

@BeWan this freebies can be reset?

yeah ofcourse clear the data on table database and change the value of 

 

#FreebiesReward = 1;

 

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
Reply to this topic...

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

Loading...