
MyGunWars
Members-
Posts
237 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by MyGunWars
-
Re: [mccodes] Horoscopes Someone should make a staff feature so you can edit them from the staff panel I would but im not the best coder.
-
Re: [mccode v2] Index.php Update Nice But I made my own.
-
[mccode v2] Edit User Profile Signatures from staff / admin panel
MyGunWars replied to Uridium's topic in Free Modifications
Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel Ok -
Re: [mccode v2] Display Cabinet +1 I will add it to my site I have one where you just see all the items in the inventory.
-
[mccode v2] Edit User Profile Signatures from staff / admin panel
MyGunWars replied to Uridium's topic in Free Modifications
Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel How do I make it work for mine? -
[mccode v2] Edit User Profile Signatures from staff / admin panel
MyGunWars replied to Uridium's topic in Free Modifications
Re: [MOD] V2 Edit User Profile Signatures from staff / admin panel staff_editprofile.php?action=editprofile QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Query was UPDATE users SET signature='' WHERE userid= staff_editprofile.php?action=editprofileform QUERY ERROR: Unknown column 'ppage' in 'field list' Query was SELECT ppage FROM users WHERE userid=1 My SQL for the profile signature is ( signature ) -
[mccodes v2] Refill A Specific User Aswell as Refill All Users
MyGunWars replied to Uridium's topic in Free Modifications
Re: [ADDON] V2 Refill A Specific User Aswell as Refill All Users Nice +1 -
Re: [V2] Robbery Some Ideas For The Mod For chance 3 the user should get some hospital time because they got shot and there should be a chance 4 where the user goes to jail and you lose the crew. I updated the way the mod looks and some spelling errors I fixed. If I have time I will add more chances and post them soon. <?php include "globals.php"; $luck = ($ir['level']) / 5; $crew = ($ir['crewmembers']) / $luck; $cashearn = $crew * 3; switch($_GET['action']) { case "buy": buy(); break; case "buycrew": buycrew(); break; default: index(); break; } function index() { global $db, $ir,$c,$userid,$h; print "<h3>Robbery</h3> [i]Hook up a robbery to earn some cash.[/i] [i]You currently have {$ir['crewmembers']} crew members. If you get more crew members this means there is a higher chance you succeed with more cash![/i] [[url='?action=buy']Buy Crew Members[/url]] [[url='?action=commit']Commit Robbery[/url]] "; } function buy() { global $db, $ir,$c,$userid,$h; print "Buying an extra crew member will coast you $1000 for them to tag along! [[url='?action=buycrew']Buy A Crew Member ($1000)[/url]] "; } function buycrew() { global $db, $ir,$c,$userid,$h; print "Buying A Crew Member "; if($ir['money'] < '1000') { print "<font color=red>Error!</font> You don't have enough for the crew member you need 1000 dollars [url='?action=buy']Back[/url] "; } if($ir['money'] > '999') { print "<font color=green>Success!</font> You have bought a crew member for $1000. [[url='?action=buycrew']Buy More Members[/url]] [[url='robbery.php']Back[/url]] "; $db->query("UPDATE users SET money=money-1000 WHERE userid=$userid"); $db->query("UPDATE users SET crewmembers=crewmembers+1 WHERE userid=$userid"); } } if($_GET['action'] == 'commit') { print " Committing The Robbery "; $chance=rand(1,2); if ($chance == 1) { print "<font color=green>Success!</font> The robbery goes to plan and you earn {$cashearn}! All of the crew members leave you as well!"; $db->query("UPDATE users SET money=money+{$cashearn}, crewmembers=0 WHERE userid=$userid"); } if ($chance == 2) { print "<font color=red>Fail!</font> The robbery doesn't go to plan all your crew members were shot down by S.W.A.T, only you managed to flee away!"; $db->query("UPDATE users SET crewmembers=0 WHERE userid=$userid"); } } ?>
-
Re: [V2] Robbery Nice mod +1
-
Re: [V2] Robbery Parse error: syntax error, unexpected T_ELSE in /home/mygun4/public_html/robbery.php on line 82
-
Re: [V2] Robbery Parse error: syntax error, unexpected T_STRING in /home/mygun4/public_html/robbery.php on line 68
-
Re: [V2] Robbery Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mygun4/public_html/robbery.php on line 43
-
Re: [V2] Robbery I got the same thing
-
Re: [mccode] Killing License Why would you want to do that?
-
Re: [V2] Upgraded Brothel Thanks ;D
-
Re: [V2] Upgraded Brothel It works but when I buy a hoe I get a error.
-
Re: [mccode] Killing License You add it and look it dose not take there money and it dose not update the SQL from 0 to 1
-
Re: [V2] Upgraded Brothel Nope Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mygun4/public_html/whorehouse.php on line 44
-
Re: Login Logs Fully Work [FREE] I added the SQL'S and they did not work but mine may work. Added SQL'S: CREATE TABLE IF NOT EXISTS`loginlogs` ( `userid` INT( 7 ) NOT NULL DEFAULT '0', `username` VARCHAR( 255 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL , `ip` VARCHAR( 20 ) NOT NULL , `time` INT( 20 ) NOT NULL DEFAULT '0' ) ENGINE = MYISAM CHARACTER SET latin1 COLLATE latin1_swedish_ci
-
Re: [V2] Upgraded Brothel I got Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/mygun4/public_html/whorehouse.php on line 44
-
Re: [mccode] Killing License Well can you make it a V2 mod plz.
-
Re: [mccode] jail/hosp shoutbox I but it in the bottem and got the same thing
-
Re: [mccode] jail/hosp shoutbox I added this on the top of the page and I got this if($ir['jailtime']>0 || $ir['user_level']==2) {include_once("jailshout.php");} Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mygun4/public_html/jail.php on line 5
-
Re: [mccode] Killing License Its not woring and it dose not take the user money plz. fix for V2 I can figer it out
-
Re: [mccode v1] User Rating ???