Buy Guns With Score Points
#1

Hello, i am trying to make it so that players can buy guns with score points...

Quote:

SetPlayerScore(playerid,GetPlayerScore(playerid)-10)

The above line will take the players score, but i dont want them to buy the gun if they dont have enough score points.

Example.

A gun costs 10 score points and the player has 3 points, it then takes them into minus score.

how can i get the script to check if he has enough points before it takes the points?

Thanks
Reply


Messages In This Thread
Buy Guns With Score Points - by lewismichaelbbc - 29.10.2010, 14:56
Re: Buy Guns With Score Points - by Rafa - 29.10.2010, 14:59
Re: Buy Guns With Score Points - by Jeffry - 29.10.2010, 15:03
Re: Buy Guns With Score Points - by SampStunta - 29.10.2010, 15:18
Re: Buy Guns With Score Points - by i514x - 29.10.2010, 15:24
Re: Buy Guns With Score Points - by lewismichaelbbc - 29.10.2010, 15:51
Re: Buy Guns With Score Points - by Jeffry - 30.10.2010, 07:38
Re: Buy Guns With Score Points - by SampStunta - 30.10.2010, 07:44

Forum Jump:


Users browsing this thread: 2 Guest(s)