Jump to content
MakeWebGames

Recommended Posts

Posted

This is a simple Jail successfull busts and failed Busts

First of all

SQLS

[mysql]ALTER TABLE `users` ADD `bustdone` int(11) NOT NULL ;

ALTER TABLE `users` ADD `bustfailed` int(11) NOT NULL ;[/mysql]

 

Open Up jailbust.php, Find

You're unable to view this code.

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

Under It add

You're unable to view this code.

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

Then Find

You're unable to view this code.

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

Under it add

You're unable to view this code.

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

Add it anywhere u want

 

You're unable to view this code.

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

 

Hope yu all like it

Posted

Why have you increased the number of sql queries?

Your already updating

$db->query("UPDATE users SET crimexp=crimexp+{$gain} WHERE userid=$userid");

So just add to that query

$db->query("UPDATE users SET crimexp=crimexp+{$gain}, bustdone=bustdone+1 WHERE userid=$userid");

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