Jump to content
  • 0

hello


freehit21

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   0
  • Joined:  08/27/13
  • Last Seen:  

 

 

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

query_sql("UPDATE `global_reg_value` SET `value`='0' WHERE `str`='#Freebie'");
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

the players have to be offline if you are trying this method. or simply shutdown server and execute the query.

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