Jump to content
  • 0

Help CallShop Euphy's Script


BrOgBr

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  97
  • Reputation:   10
  • Joined:  01/21/13
  • Last Seen:  

Hello please someone, help me!

I was trying to put a CallShop in my Vote for Points Shop, I tried many things but nothing worked...

I was talking with @Stolao, I'm trying it since early, it's  about 12 hours trying and I'm tired.

I finally got it with the @Euphy Script and it's working except for one thing... I'm using a older version, 1.4 I thing, because the new version isn't working for me so the older version doesn't support for purchasing multiple items and I need it. :(

So someone can tell me how to adapt this function in this script:

PS. I'm noob and my english isn't good, sorry.

Sorry for any mistakes here is 04:01AM and I don't sleep yet.

Edited by BrOgBr
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

-	script	autojoin	-,{

OnPCLoginEvent:
query_sql("SELECT `points` FROM `cp_v4p_voters` WHERE account_id="+getcharid(3)+" LIMIT 1",.@points);
   if (!.@points) end;
   query_sql("UPDATE `cp_v4p_voters` SET points=(points-"+.@points+") WHERE account_id='"+getcharid(3)+"'");
   set #VOTEPOINTS, #VOTEPOINTS+.@points;
   dispbottom "Vote Points updated! Total: "+#VOTEPOINTS;
end;
}
prontera,165,165,4	script	Vote for Points Shop	506,{
dispbottom "You currently have "+#VOTEPOINTS+" Vote Points.";
callshop "v4p_shop",1;
end;
}

-	pointshop	v4p_shop	-1,#VOTEPOINTS,512:20

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  97
  • Reputation:   10
  • Joined:  01/21/13
  • Last Seen:  

I've tried with pointshop, but it didn't work for me...

Now i'm trying to copy the functions from the new version of the Euphy's Script to the old version, but I don't know if it'll work.

@EDIT

I'll use pointshop now, I think this is a more easy solution.

Thank you Cyro.

Edited by BrOgBr
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...