29.10.2010, 14:56
(
Последний раз редактировалось lewismichaelbbc; 29.10.2010 в 15:43.
Причина: Changed [Quote] to [code]
)
Hello, i am trying to make it so that players can buy guns with score points...
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
Quote:
SetPlayerScore(playerid,GetPlayerScore(playerid)-10) |
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