Verified:

bore Game profile

Patron
385

Oct 6th 2021, 11:58:04

enshula: you mean I should do something with this glorious piece of code?

if($maxprice>1000){$maxprice=10000;$ticks=1000;}
elseif($maxprice>500){$maxprice=1000;$ticks=100;}
elseif($maxprice>300){$maxprice=500;$ticks=50;}
elseif($maxprice>150){$maxprice=300;$ticks=30;}
elseif($maxprice>100){$maxprice=150;$ticks=30;}
else{$maxprice=100;$ticks=10;}

Update!
if($maxprice>5000){$maxprice=10000;$ticks=1000;}
elseif($maxprice>1000){$maxprice=5000;$ticks=500;}
elseif($maxprice>500){$maxprice=1000;$ticks=100;}
elseif($maxprice>300){$maxprice=500;$ticks=50;}
elseif($maxprice>150){$maxprice=300;$ticks=30;}
elseif($maxprice>100){$maxprice=150;$ticks=30;}
elseif($maxprice>50){$maxprice=100;$ticks=10;}
else{$maxprice=50;$ticks=5;}

Edited By: bore on Oct 6th 2021, 12:04:18
Back To Thread
See Original Post