Snatchy Posted December 19, 2006 Share Posted December 19, 2006 function dd_buy() { global $ir,$c,$userid,$h; if($ir['donatordays'] > 0) { print "You need to be a NON - Donator to buy on this market.; Back"; $h->endpage(); exit; would i be right in sayin that this would stop a donator from entering the the crystal market? Quote Link to comment Share on other sites More sharing options...
Tomo Posted December 19, 2006 Share Posted December 19, 2006 Re: blocking Looks like it, but that would suck, if I was a donator I'd want full privelages. :P Quote Link to comment Share on other sites More sharing options...
corruption Posted December 19, 2006 Share Posted December 19, 2006 Re: blocking why would you want to stop a donator from entering the crystal market? :| Quote Link to comment Share on other sites More sharing options...
Snatchy Posted December 19, 2006 Author Share Posted December 19, 2006 Re: blocking I was just testing it and playing around making things work. Quote Link to comment Share on other sites More sharing options...
tyler Posted December 19, 2006 Share Posted December 19, 2006 Re: blocking You could also have did: function dd_buy() { global $ir,$c,$userid,$h; if($ir['donatordays']) // this means they have them could have been if(!$ir['donatorydays'])... this would mean they dont have any or it = 0. { print "You need to be a <font color=red>[b]NON[/b]</font> - Donator to buy on this market.; [url='cmmarket.php'] Back[/url]"; $h->endpage(); exit; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.