weewooz Posted July 9, 2009 Posted July 9, 2009 hi there any help please would be great health keeps going into - negative im using vr2 doing on my account admin thanks alot Quote
Miniman Posted July 9, 2009 Posted July 9, 2009 Re: Health goes into - neagative Where and why does the health go into negative? Searching the streets? Attacking? :-) Quote
jon182 Posted July 10, 2009 Posted July 10, 2009 Re: Health goes into - neagative $h=$db->query("SELECT * FROM users WHERE userid=$userid"); $r=mysql_fetch_array($h); if ($r['health']<=0) $db->query("UPDATE users SET health=0 WHERE userid=$userid"); place either in headers or globals Quote
AlabamaHit Posted July 10, 2009 Posted July 10, 2009 Re: Health goes into - neagative Do not do what was posted before, that is not fixing, and it 'will' slow your site, Find the problem and fix it, sticking querys in ylour heard to load on every single click on every single page is very very bad Quote
weewooz Posted July 10, 2009 Author Posted July 10, 2009 Re: Health goes into - neagative not sure were the prob is yet im monitering it soon as i spot ill try and fix if not ill post thanks guys Quote
AlabamaHit Posted July 10, 2009 Posted July 10, 2009 Re: Health goes into - neagative we can help yo ufix it, but we can't just by you saying it's happening. Locate where it's happening, then you cna post some code and we can chelp. 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.