server-sided health problem.
#6

Quote:
Originally Posted by Kimossab
Посмотреть сообщение
case 31: zHealth[playerid] -= amount + 79;

I'm quite sure this will actually increase health...
If I remember correctly (long time since I worked with weapon ids and damages) ID 31 is an M4 and that makes 10 damage per shot... uhm so what that does is actuall zHealth[playerid] = zHealth[playerid] - 10 + 79 = zHealth[playerid] + 69

Are you sure you want to use the + there?
No I wasnt even going to use a + because I knew it will increase lol.
Fixed anyways.
Reply


Messages In This Thread
server-sided health problem. - by Crystallize - 26.05.2016, 17:55
Re: server-sided health problem. - by MBilal - 26.05.2016, 18:29
Re: server-sided health problem. - by Crystallize - 26.05.2016, 20:33
Re: server-sided health problem. - by IstuntmanI - 26.05.2016, 21:34
Re: server-sided health problem. - by Kimossab - 26.05.2016, 23:20
Re: server-sided health problem. - by Crystallize - 26.05.2016, 23:36

Forum Jump:


Users browsing this thread: 1 Guest(s)