This is the first real thing i have coded its v.simple and most of you could do it in about 1 min just thought i would post it here to see what you think.
What it does?
It makes you gain 5 steps every hour so players are coming back to do the streets. When you get to 100 steps it will stop giving you more steps.
this is how to do it
In the day cron find
$db->query("UPDATE users SET turns=25");
then delete that then save
In hour cron find
$db->query("UPDATE gangs SET gangCHOURS=gangCHOURS-1 WHERE gangCRIME>0");
Then after add:
$db->query("UPDATE users ADD turns=5 WHERE turns < 100")
As i said this is the first code i have done please tell me if it its OK and feel free to change the numbers to your gaming needs