Jump to content
MakeWebGames

[mccode] Voting token exchange


Blackdogg
 Share

Recommended Posts

Ok i know this is probably quite simple for most of you but this is my first attempt at making a mod the problem i have is that the reward is being given even when it says you dont have enough tokens thanks in advance Blackdogg

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

Guest Sniko`

Re: Voting token exchange

its quite simple to code why buy it (if its a paid mod) also why invent the wheel twice <-- a saying

if you can code it why buy it when u can code it

anyway thanks for this

Link to comment
Share on other sites

Guest Sniko`

Re: Voting token exchange

 

nice one easy to read as well you should make the table clearer like

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

 

ok, nice one

Link to comment
Share on other sites

  • 1 month later...

Re: [mccode] Voting token exchange

 

so where do you find an admin to report someone for posting a paid mod

Where is the paid mod I created this one and posted it for help to fix the errors.

Also if this was a paid mod (which its not) id feal sorry for the people whod buy as its not working lol

 

voting token

? Sent to: Blackdogg on: Today at 09:30:54 AM ?

--------------------------------------------------------------------------------

and this is why i only do encrypted cause people like you get ur hands on my stuff without paying for it

also if it was your paidmod(which its not) you say in your mail to me that your mods are encrypted??

Link to comment
Share on other sites

Re: [mccode] Voting token exchange

in all your queries that are of this format

$db->query("UPDATE users SET health=maxhealth, votetokens=votetokens-2");

you need change to fit this

$db->query("UPDATE users SET health=maxhealth, votetokens=votetokens-2 WHERE userid=$ir['userid']");

otherwise the database does not know which specific user update

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
Reply to this topic...

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

 Share

×
×
  • Create New...