givehp gethp?
#4

"dude" i'm a girl but that's ok, i try to make your functions work. Let me see.

1. So u get the health with this: GetHealth( i, hp );. Did u defined somewhere that hp ?
PHP Code:
new Float:hp;
GetHealthihp ); 
2. I think if u use it like this may it will work:
PHP Code:
GetHealthplayeridhealth ) return pInfoplayerid ][ pHealth ] = health
3. And this i think it will work too:
PHP Code:
GiveHealthplayeridhealth ) return pInfoplayerid ][ pHealth ] += health
Try it and let me know if it works.
Reply


Messages In This Thread
givehp gethp? - by Crystallize - 12.06.2017, 15:35
Re: givehp gethp? - by FaLLenGirL - 12.06.2017, 16:00
Re: givehp gethp? - by Crystallize - 12.06.2017, 16:01
Re: givehp gethp? - by FaLLenGirL - 12.06.2017, 16:08
Re: givehp gethp? - by Crystallize - 12.06.2017, 16:15
Re: givehp gethp? - by FaLLenGirL - 12.06.2017, 16:17
Re: givehp gethp? - by Crystallize - 12.06.2017, 16:18
Re: givehp gethp? - by Whatname - 12.06.2017, 16:20
Re: givehp gethp? - by FaLLenGirL - 12.06.2017, 16:26
Re: givehp gethp? - by Crystallize - 12.06.2017, 16:28

Forum Jump:


Users browsing this thread: 1 Guest(s)