
toufail
Members-
Posts
60 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by toufail
-
Re: [MOD all MCC's] LET IT SNOW nice work illusions this thing gets better and better every reply :mrgreen:
-
Re: Event ADD $db->query("UPDATE gangs SET gangCHOURS=gangCHOURS-1 WHERE gangCRIME>0"); $q=$db->query("SELECT g.*,oc.* FROM gangs g LEFT JOIN orgcrimes oc ON g.gangCRIME=oc.ocID WHERE g.gangCRIME > 0 AND g.gangCHOURS = 0"); while($r=$db->fetch_row($q)) { $suc=rand(0,1); if($suc) { $log=$r['ocSTARTTEXT'].$r['ocSUCCTEXT']; $muny=(int) (rand($r['ocMINMONEY'],$r['ocMAXMONEY'])); $log=str_replace(array("{muny}","'"),array($muny,"''"),$log); $db->query("UPDATE gangs SET gangMONEY=gangMONEY+$muny,gangCRIME=0 WHERE gangID={$r['gangID']}"); $db->query("INSERT INTO oclogs VALUES ('',{$r['ocID']},{$r['gangID']}, '$log', 'success', $muny, '{$r['ocNAME']}', unix_timestamp())"); $i=$db->insert_id(); $qm=$db->query("SELECT * FROM users WHERE gang={$r['gangID']}"); while($rm=$db->fetch_row($qm)) { $db->query("INSERT INTO events VALUES ('',{$rm['userid']},unix_timestamp(),'0',\"Your gang's Organised Crime Succeeded. Go [url='oclog.php?ID=$i']here[/url] to view the details.\")"); $db->query("UPDATE users SET new_events=new_events+1 WHERE userid={$rm['userid']}"); } } else { $log=$r['ocSTARTTEXT'].$r['ocFAILTEXT']; $muny=0; $log=str_replace(array("{muny}","'"),array($muny,"''"),$log); $db->query("UPDATE gangs SET gangCRIME=0 WHERE gangID={$r['gangID']}"); $db->query("INSERT INTO oclogs VALUES ('',{$r['ocID']},{$r['gangID']}, '$log', 'failure', $muny, '{$r['ocNAME']}', unix_timestamp())"); $i=$db->insert_id(); $qm=$db->query("SELECT * FROM users WHERE gang={$r['gangID']}"); while($rm=$db->fetch_row($qm)) { $db->query("INSERT INTO events VALUES ('',{$rm['userid']},unix_timestamp(),'0',\"Your gang's Organised Crime Failed. Go [url='oclog.php?ID=$i']here[/url] to view the details.\")"); $db->query("UPDATE users SET new_events=new_events+1 WHERE userid={$rm['userid']}"); } } } any clue where thi sshould be
-
Re: [MCcode V2] Ranks I ALREADY HAVE THE IMAGES THEY WORK FINE, THE SCRIPT IS NOT USED FOR CRIMES YOU CAN SEE THAT FROM THE CODE $r['level'] IT IS USED FOR LEVELS WHEN I CHANGE THE if($r['level']<5) {$rank="Private [img=rank1.png]"; } TO THIS if($r['level']>5) {$rank="Private [img=rank1.png]"; } IT SHOWS THAT You are The Gangster AND IT GIVE THE IMAGE OF GANGSTER I.E RANK 17 FORM SCRIPT IT JUST WONT CHECK THE INSIDE CRITERIA IT JUST JUMPS TO THE LAST ONE
-
Re: [MCcode V2] Ranks i cant remember who i got this add on from but i have some problems with it if($r['level']<5) {$rank="Private [img=rank1.png]"; } else if($r['level']<10 and $r['level']>=5) { $rank="Corporal [img=rank2.png]"; } else if($r['level']<15 and $r['level']>=10) { $rank="Sergeant [img=rank3.png]"; } else if($r['level']<20 and $r['level']>=15) { $rank="Sergeant Major [img=rank4.png]"; } else if($r['level']<25 and $r['level']>=20) { $rank="Second Lieutenant [img=rank5.png]"; } else if($r['level']<30 and $r['level']>=25) { $rank="First Lieutenant [img=rank6.png]"; } else if($r['level']<35 and $r['level']>=30) { $rank="Captain [img=rank7.png]"; } else if($r['level']<40 and $r['level']>=35) { $rank="Major [img=rank8.png]"; } else if($r['level']<45 and $r['level']>=40) { $rank="Lieutenant Colonel [img=rank9.png]"; } else if($r['level']<50 and $r['level']>=45) { $rank="Colonel [img=rank10.png]"; } else if($r['level']<55 and $r['level']>=50) { $rank="Brigadier General [img=rank11.png]"; } else if($r['level']<60 and $r['level']>=55) { $rank="Major General [img=rank12.png]"; } else if($r['level']<65 and $r['level']>=60) { $rank="Lieutenant General [img=rank13.png]"; } else if($r['level']<70 and $r['level']>=65) { $rank="General [img=rank14.png]"; } else if($r['level']<80 and $r['level']>=70) { $rank="General of the Army [img=rank15.png]"; } else if($r['level']<90 and $r['level']>=80) { $rank="General of the Armies [img=rank16.png]"; } else if($r['level']<100) { $rank="You are The Gangster [img=rank17.png]"; } i cant seem to make it work i am level 16 but i am still ranked as Private can some one help me out please is there anything wrong with the script
-
Re: Updated jail features [V2] after i add the three new pades then what do i do do i delete my jail page can you walk me through it please what is mysql Features please you can contact me on :[email protected]
-
Re: Please review My Game MORE UPDATES CHECK IT OUT
-
mccode-v2 New and improved inventory code sources for free!
toufail replied to MDK666's topic in Free Modifications
Re: [mccodes v2]New and improved inventory code sources for free! :-o :-D -
mccode-v2 New and improved inventory code sources for free!
toufail replied to MDK666's topic in Free Modifications
Re: [mccodes v2]New and improved inventory code sources for free! wicked already done and its going for free MKdk666 your the man -
Re: [mccodes v2]New and improved inventory it wicked when do u finish :wink:
-
mccode-v1 [mccode] delete gang after respect hit 0
toufail replied to iseeyou94056's topic in Free Modifications
Re: [mccode] delete gang after respect hit 0 anyone have a working v2 one -
mccode-v2 Upgrade IPFINDER original Script by Magicaltallguy
toufail replied to Uridium's topic in Free Modifications
Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy i have a problem aswell Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/******/public_html/ipfinder.php on line 47 -
mccode-v2 Upgrade IPFINDER original Script by Magicaltallguy
toufail replied to Uridium's topic in Free Modifications
Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy why not change your detail.php to viewuser.php cause some of us are using viewuser.php for other other scripts as well -
Re: [mccode v2] Not much of a MOD more of a great addon.. Private Messenger GUYS I AM HAVING PROBLEM WITH SQL CREATE TABLE `imbuddylist_config` ( `adminscontrolusersettings` int(1) NOT NULL default '0', `chatlogsaving_enabled` int(1) NOT NULL default '1', `config_name` varchar(255) NOT NULL default '', `defaulttheme` varchar(255) NOT NULL default '', `group_allonline_opened` int(1) NOT NULL default '1', `group_onlinebuddies_opened` int(1) NOT NULL default '1', `group_offlinebuddies_opened` int(1) NOT NULL default '0', `profile_enabled` int(1) NOT NULL default '1', `buddylist_enabled` int(1) NOT NULL default '1', `awaymsg_enabled` int(1) NOT NULL default '1', `showonline_enabled` int(1) NOT NULL default '1', `staffsupportsystem_enabled` int(1) NOT NULL default '1', `usersearch_enabled` int(1) NOT NULL default '1', `profilecomments_enabled` int(1) NOT NULL default '1', `profileavatars_enabled` int(1) NOT NULL default '1', `buddycomments_enabled` int(1) NOT NULL default '1', `offlinemessages_enabled` int(1) NOT NULL default '1', `debugmode_enabled` int(1) NOT NULL default '0', `usersautoacceptchatrequests` int(1) NOT NULL default '0' PRIMARY KEY (`config_name`) ) TYPE=MyISAM; MySQL said: Documentation #1064 - 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 '(`config_name`) ) TYPE=MyISAM' at line 21 WHAT SHOULD I DO IT JUST WONT ACCEPT IT
-
Re: [review]Serious Wars nice game would recommend any one :wink:
-
Re: Please review My Game there something call joke if you know waht i mean thats y i used :-P :-)
-
Re: Please review My Game :?when was that demotor i cant call back talking to you of anything regaurding any post :lol: :-P
-
Re: Please review My Game dude shut up i told you do give me review not tell me when i should post saying to give review
-
Re: Please review My Game if have done some updates can every one check it our and give a review PLZ :wink: :|
-
Re: Please review My Game i put up my site so that i can see what people want this way i can improve it that is my idea of improving no matter how bad their comment is, but if they critisize on some thing els such as why i did not make the url hypelinked that is some thing else :roll:
-
Re: Hacker "Password protect your staff panels..." any clue on how i approach on doing that, any one his name is Fahim Miah ([email protected]) aka [email protected] he tried it on mine as well but i dont have a secound person as admin but still he came in as a normal user then added a announcement Get Help @ [email protected]
-
Re: Please review My Game i am still working on it thanx :wink:
-
Re: Please review My Game try again you know that you should put in everthing which is in Registration CAPTCHA
-
Re: Please review My Game there is some thing called under construction and also you have not logged in but still you gave a review home come dont tell me i have to explain how to log in