freehit21 Posted May 25, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 68 Reputation: 0 Joined: 08/27/13 Last Seen: August 21, 2015 Share Posted May 25, 2014 prontera,100,200,3 script Freebies 78,{if(#Freebie) { mes "You already got your freebies"; close; } mes "Here's your freebies"; getitem 1234,1; set #Freebie,1; close; } hello can someone add a function to reset this npc.. Quote Link to comment Share on other sites More sharing options...
sandbox Posted May 26, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted May 26, 2014 query_sql("UPDATE `global_reg_value` SET `value`='0' WHERE `str`='#Freebie'"); Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 26, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted May 26, 2014 the players have to be offline if you are trying this method. or simply shutdown server and execute the query. Quote Link to comment Share on other sites More sharing options...
Question
freehit21
hello can someone add a function to reset this npc..
Link to comment
Share on other sites
2 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.