bigm Posted March 27, 2009 Posted March 27, 2009 I dont class myself as a coder but mostly i manage. I have never asked for help before but i am stuck on this. Please can any one tell me how i stop players selling items if they are under a certain value. For example if you have breakable items you cant sell them if they are broke. Thanx. Quote
TMan Posted March 27, 2009 Posted March 27, 2009 Re: Can someone help $damaged=itemdamage > 0 (or <100 if you have it set that way) If($GET_['ID'] == $damaged) {print"You can not sell a damaged item";} else {(insert into itemadd...........................)} This will not work its an example. I have no idea of the weapon damage mod or its sql's so your on your own there. Quote
bigm Posted March 27, 2009 Author Posted March 27, 2009 Re: Can someone help Thankyou. That will help it gives me some idea to work around :) 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.