Jump to content
MakeWebGames

toufail

Members
  • Posts

    60
  • Joined

  • Last visited

    Never

Everything posted by toufail

  1. Re: [MOD all MCC's] LET IT SNOW nice work illusions this thing gets better and better every reply :mrgreen:
  2. 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
  3. 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
  4. 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
  5. 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]
  6. Re: Please review My Game MORE UPDATES CHECK IT OUT
  7. Re: [mccodes v2]New and improved inventory code sources for free! :-o :-D
  8. Re: [mccodes v2]New and improved inventory code sources for free! wicked already done and its going for free MKdk666 your the man
  9. Re: [mccodes v2]New and improved inventory it wicked when do u finish :wink:
  10. Re: [mccode] delete gang after respect hit 0 anyone have a working v2 one
  11. 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
  12. 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
  13. Re: [mccode v2] Not much of a MOD more of a great addon.. Private Messenger `usersautoacceptchatrequests` int(1) NOT NULL default '0' THERE IS SOMETHING WRONG WITH THIS LINE WHEN I TOOK IT OUT OF THE SQL EVERYTHING WORKOUT CAN SOME ONE SHOW ME HOW IT SHOULD LOOK LIKE I AM A NEWBIE :oops:
  14. 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
  15. Re: [review]Serious Wars nice game would recommend any one :wink:
  16. Re: Please review My Game there something call joke if you know waht i mean thats y i used :-P :-)
  17. Re: Please review My Game :?when was that demotor i cant call back talking to you of anything regaurding any post :lol: :-P
  18. 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
  19. Re: Please review My Game if have done some updates can every one check it our and give a review PLZ :wink: :|
  20. 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:
  21. 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]
  22. Re: Please review My Game i am still working on it thanx :wink:
  23. Re: Please review My Game try again you know that you should put in everthing which is in Registration CAPTCHA
  24. Re: Not much of a MOD more of a great addon.. Private Messenger Try this one out its free http://www.ajaxim.com/ I dont know if any one else have posted anything about it
  25. 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
×
×
  • Create New...