
ColdK
Members-
Posts
108 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by ColdK
-
Re: Free Graphics!!! crap
-
Re: [mccode v2] Donator and Non-Donator Lottery Fully Woking now but ! the cron when i add it into the cpanel do i add the cron code onto it
-
Re: Free Graphics!!! XD you noob hacksaw i asked you once when i added you and you sed no cause u are half asleep and then last night i asked you again and you you just blocked me XD i didnt nidge you
-
Re: Free Graphics!!! Arnt You Doing Them Now ? I Asked You On Msn And Then You Blocked Me :|
-
Re: Donator and Non-Donator Lottery [V2] I Did Do That I Got A Error On Item USe Every thing Works Ok
-
Re: Giveing away free mods.. ====== ! FAIL ! ======
-
Re: Donator and Non-Donator Lottery [V2] i tryed to add the item use bit and i got a error when i used it ill post it ina bit i only changed credits to crystal and thats that i seen the main thing so you use the ticked in item use where it inserts that will solve my problem ithink it was somiting like unxepected { or i think it was }at line 182 } } $h endpage Blah lol; php?>
-
Re: Donator and Non-Donator Lottery [V2] you dont need to use the itemuse bit cause its already in the item effect to update the lotteery by 1 why dont it say that 0 lotto tickets have been baught when they have and i used them still not showing that any have been baught where it says total tickets baught 0 not budging thanks
-
Re: Donator and Non-Donator Lottery [V2] okay im confussed i set the donator ticket to value one lottery and then used it it didnt updaye anything not even how many tickets have been baught or nothing only thing it updated is the lottery number in the users table
-
Re: Donator and Non-Donator Lottery [V2] i understand but what functions for the items will i have to add them in on staff_items ?
-
Re: Donator and Non-Donator Lottery [V2] Okay i Seen $lotd_sql = $db->query("SELECT * FROM lottery WHERE lot_DON=1 ORDER BY rand() LIMIT 1"); selects 1 user duhh lol and how you use tickets / valadate them for the draw and will i have to change credits to crystals ? and lol i see no quirey taking the tickets off them in the cron ?
-
Re: Donator and Non-Donator Lottery [V2] and how do you use the lottery tickets ?
-
Re: Donator and Non-Donator Lottery [V2] ummm credits will i have to change that to crystals ? and where is it who randomly wins ?
-
Re: Donator and Non-Donator Lottery [V2] 0 3 * * 1 so 0 0 * * 1 will be every midnight each week
-
Re: Donator and Non-Donator Lottery [V2] lol yer their is o and by the way how do you do the cron things im confuseed how i run a week cron i know how to do a min and hour and day cron but not week
-
Re: Donator and Non-Donator Lottery [V2] Free Mod !! Cheers Buddy Thanks Alot I Will Be Using :wink:
-
Re: Free Graphics!!! make me one to do with terrorists and island
-
Re: [mccode v2] Drugs Corner on php myadmin
-
[mccode] A better Safer Forum for your members to enjoy
ColdK replied to Uridium's topic in Free Modifications
Re: [MOD Mcc V1 + V2] A better Safer Forum for your members to enjoy niceone mate i think i will use this brilliant idea -
Re: [mccode] Script For Header anyone
-
Re: [mccode] Script For Header Fatal error: Call to a member function query() on a non-object in /home/terroris/public_html/header.php on line 139 if($_GET['u']) { $gusn=$db->query("SELECT * FROM users WHERE userid={$_GET['u']}"); $prous=($db->fetch_row($gusn)); echo "<title>{$set['game_name']} - {$prous['username']}'s Profile</title>"; 139 = $gusn=$db->query("SELECT * FROM users WHERE userid={$_GET['u']}");
-
Re: Free Carnival lol i had yhis mod months ago
-
Re: [mccode v2] House Images Wasnt A Error Silly Me I Only Done A Pic For The Default House Which You Cant See In The Estate :oops: :lol:
-
Re: [mccode v2] House Images can you post your estate.php please
-
Re: [mccode v2] House Images This Is The Estate Im Using <?php include "globals.php"; $mpq=$db->query("SELECT * FROM houses WHERE hWILL={$ir['maxwill']}"); $mp=$db->fetch_row($mpq); $_GET['property']=abs((int) $_GET['property']); if($_GET['property']) { $npq=$db->query("SELECT * FROM houses WHERE hID={$_GET['property']}"); $np=$db->fetch_row($npq); if($np['hWILL'] < $mp['hWILL']) { print "You cannot go backwards in houses!"; } else if ($np['hPRICE'] > $ir['money']) { print "You do not have enough money to buy the {$np['hNAME']}."; } else { $db->query("UPDATE users SET money=money-{$np['hPRICE']},will=0,maxwill={$np['hWILL']} WHERE userid=$userid"); print "Congrats, you bought the {$np['hNAME']} for \${$np['hPRICE']}!"; } } else if (isset($_GET['sellhouse'])) { $npq=$db->query("SELECT * FROM houses WHERE hWILL={$ir['maxwill']}"); $np=$db->fetch_row($npq); if($ir['maxwill'] == 100) { print "You already live in the lowest property!"; } else { $db->query("UPDATE users SET money=money+{$np['hPRICE']},will=0,maxwill=100 WHERE userid=$userid"); print "You sold your {$np['hNAME']} and went back to your shed."; } } else { print "<center>Your current property: <font color=blue>[b]{$mp['hNAME']}[/b]</font> The houses you can buy are listed below. Click a house to buy it. "; print "[url='estate.php?sellhouse']Sell Your House[/url] "; if($ir['willmax'] > 100) { } $hq=$db->query("SELECT * FROM houses WHERE hWILL>{$ir['maxwill']} ORDER BY hWILL ASC"); while($r=$db->fetch_row($hq)) { print " <table cellspacing=2 class='table'><tr style='background:gray;'><th>House</th><th>House Price</th><th>House Will</th><th>Image</th><th>Buy?</th></tr>"; $hq=mysql_query("SELECT * FROM houses WHERE hWILL>{$ir['maxwill']} ORDER BY hWILL ASC",$c); while($r=$db->fetch_row($hq)) { print "<tr><td>{$r['hNAME']}</a></td><td>\$$t".money_formatter($r['hPRICE'],'')."</td> <td>{$r['hWILL']}</td> <td>[img=hsepics/{$r[]</td> <td><a href='estate.php?property={$r['hID']}'>Buy</tr>"; } print "</table>"; } } $h->endpage(); if($ir['married']) { die("You cannot manage your estate agent while your being married!"); } ?> Update ------------ Screeny