Jump to content
  • 0
Sign in to follow this  
arthurcunha1991

Script PROMO

Question

7 answers to this question

Recommended Posts

  • 0

Try this but untested.

FInd it in line 56 and add this one.

input .@pcode$;

query_sql(select count(last_ip) from reward_logs where code = '" + escape_sql(.@pc$) + "',.@claim1);
    if(.@claim1 == 1){
    mes "This code can't claim with same ip."
    close;
    end;
    }

 

Share this post


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

error ;0


 


 

erro.png

query_sql("select count(last_ip) from reward_logs where code = '" + escape_sql(.@pc$) + "'",.@claim1);
    if(.@claim1 == 1){
    mes "This code can't claim with same ip."
    close;
    end;
    }

 

mybad.

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, arthurcunha1991 said:

is still with error = x

I do not script script I'm very dumb :)

 

Sem títuloerrro2.png

 

You just need to add " ; " at the end of line 60.

mes "This code can't claim with same ip.";   <-

 

 

Share this post


Link to post
Share on other sites
  • 0
5 hours ago, arthurcunha1991 said:
 

Thank you very much @hikashin @Caspian has already been resolved and is working!

Great. Glad to know.

8 hours ago, Caspian said:

 

You just need to add " ; " at the end of line 60.

mes "This code can't claim with same ip.";   <-

sorry i was coding that on my phone hehehe :)

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
Answer this question...

×   Pasted as rich text.   Restore formatting

  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...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.