Deku Posted December 25, 2019 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 19 Reputation: 1 Joined: 11/10/14 Last Seen: December 16, 2024 Share Posted December 25, 2019 I've been looking in the forum, and I didn't find a functional npc with Gepard, I would rather like a npc Freebies with Gepard in it Thx Quote Link to comment Share on other sites More sharing options...
2 sader1992 Posted December 25, 2019 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 5 minutes ago Share Posted December 25, 2019 if you are planing to use the unique id more in the future , i would suggest using this the script would look like this prontera,0,0,0 script rewards 444,{ mes "something"; if(!gepard_int_get("freebies")){ gepard_int_set("freebies",1); mes "here is the rewards"; getitem 502,1; }else{ mes "you already got the freebies rewards"; } close; } 1 1 1 Quote Link to comment Share on other sites More sharing options...
0 Deku Posted December 26, 2019 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 19 Reputation: 1 Joined: 11/10/14 Last Seen: December 16, 2024 Author Share Posted December 26, 2019 8 hours ago, sader1992 said: if you are planing to use the unique id more in the future , i would suggest using this the script would look like this prontera,0,0,0 script rewards 444,{ mes "something"; if(!gepard_int_get("freebies")){ gepard_int_set("freebies",1); mes "here is the rewards"; getitem 502,1; }else{ mes "you already got the freebies rewards"; } close; } Works fine for now, I will test for a few days thank you Quote Link to comment Share on other sites More sharing options...
0 BeWan Posted December 26, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 403 Reputation: 249 Joined: 07/04/19 Last Seen: 3 hours ago Share Posted December 26, 2019 (edited) here prontera,150,150,4 script Freebies NPC 123,{ . @ unique _id $ = get_unique_id (); if (getd ("$ ID_" + . @ unique _id $)> 0 || #FreebiesReward> 0) { month "[Freebies NPC]"; mes "You have already claimed your Freebies."; close; } month "[Freebies NPC]"; mes "Here's your Freebies. Have a nice day!"; setd "$ ID_" + . @ unique _id $, 1; #FreebiesReward = 1; $ freebies_count - = 1; for ( . @ i = 0 ;. @ i <getarraysize (.items);. @ i + = 2) getitem .items [ . @ i ] ,. items [ . @ i +1]; if ($ freebies_count == 0) $ reward_status = 1; end; OnInit: setarray .items, 501,10,502,10; end; } Edited December 26, 2019 by BeWan 1 Quote Link to comment Share on other sites More sharing options...
Question
Deku
I've been looking in the forum, and I didn't find a functional npc with Gepard, I would rather like a npc Freebies with Gepard in it
Thx
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.