Jump to content
MakeWebGames

Recommended Posts

Posted

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.

Guest Sniko`
Posted

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

Guest Sniko`
Posted

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

Posted

Re: Voting token exchange

 

Try replacing the echo "error" messages to die(error_message).

you need to stop processing the script and echo alone doesn't do it.

Thanks mate i`ll give it a try

  • 1 month later...
Posted

Re: [mccode] Voting token exchange

 

You're unable to view this code.

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

 

The target="_blank" means it will open in a new tab / window

Posted

Re: [mccode] Voting token exchange

i get this error

Parse error: syntax error, unexpected T_STRING in /home/thedestr/public_html/voting.php on line 6

this is my code

You're unable to view this code.

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

Posted

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

Posted

Re: [mccode] Voting token exchange

 

You're unable to view this code.

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

Parse error: syntax error, unexpected T_STRING in /home/thedestr/public_html/voting.php on line 6

tryed it still the same

Posted

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

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.

×
×
  • Create New...