05.10.2014, 09:06
Quote:
You get me wrong why you put lighter 10 I want to player buy just one lighter and for example 10 cigars and then he use that one lighter until he smoke all cigars then he buy another one lighter.
|
What he posted means the player will be able to light 10 times, when he gets to 0, you will ask him to buy a new one.
Then just set PlayerLight[playerid] = 10;