health
#2

Do you currently have a system for purchasing drinks?

if so, I need to know what variable you use for health.

But it will look something like this;
Код:
playerVariables[playerid][pHealth] += 5;
Add that to the command for purchasing a drink, should work but again you need to adapt it to your script.
Reply


Messages In This Thread
health - by oscar7610 - 08.04.2012, 00:19
Re: health - by Boooth - 08.04.2012, 00:23
Re: health - by oscar7610 - 08.04.2012, 00:32
Re: health - by Kitten - 08.04.2012, 00:35
Re: health - by [DOG]irinel1996 - 08.04.2012, 00:36
Re: health - by oscar7610 - 08.04.2012, 00:40
Re: health - by Kitten - 08.04.2012, 00:42
Re: health - by [DOG]irinel1996 - 08.04.2012, 00:43
Re: health - by oscar7610 - 08.04.2012, 00:45
Re: health - by oscar7610 - 08.04.2012, 00:49

Forum Jump:


Users browsing this thread: 2 Guest(s)