Ok,but as you said it removes only 500 $ from their money,but what about the points as you typed
PHP Code:
if(user_money >= 500 || deathrun_points[id] >= 2)
It removes only the money,example there is "deathrun_points[id] >= 2)" but we don't have them in game,so the "HE Grenade" removes only money,but without points,so my idea was that I don't need money,let's forget about them. How can I create function for points,that in game they will cost something,like the grenade cost 1,2 of points,but as I choose the HE grenade it doesn't bought me (I have removed all my money) in fact points are only in script,but not in game so how can I make that to remove from points like this,if I have 10 points in game,I want to purchase a HE grenade for 2 points,how can I create this.And thank you for fast answers.