Whats Wrong
#10

you shouldn't set the health back to 100, lets say the player has 20hp and he quickly uses the atm to gain 100hp.

you should use something called https://sampwiki.blast.hk/wiki/GetPVarFloat to store the HP and then use https://sampwiki.blast.hk/wiki/SetPVarFloat.
Reply


Messages In This Thread
Whats Wrong - by youssefehab500 - 27.05.2014, 16:51
Re: Whats Wrong - by R0 - 27.05.2014, 16:52
Re: Whats Wrong - by youssefehab500 - 27.05.2014, 16:53
Re: Whats Wrong - by youssefehab500 - 27.05.2014, 16:55
Re: Whats Wrong - by gekas - 27.05.2014, 16:57
Re: Whats Wrong - by youssefehab500 - 27.05.2014, 17:01
Re: Whats Wrong - by Konstantinos - 27.05.2014, 17:01
Re: Whats Wrong - by youssefehab500 - 27.05.2014, 17:05
Re: Whats Wrong - by youssefehab500 - 27.05.2014, 17:11
Re: Whats Wrong - by YoungKris - 27.05.2014, 17:15

Forum Jump:


Users browsing this thread: 3 Guest(s)