Snatchy Posted December 19, 2006 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
Tomo Posted December 19, 2006 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
corruption Posted December 19, 2006 Posted December 19, 2006 Re: blocking why would you want to stop a donator from entering the crystal market? :| Quote
Snatchy Posted December 19, 2006 Author Posted December 19, 2006 Re: blocking I was just testing it and playing around making things work. Quote
tyler Posted December 19, 2006 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
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.