Health No Decrease
#1

This Is A Big Problem In My Server

Health Isn't Decreasing when someone shoot someone No One iS using hacks or god mod any help guys??

player health is 100.0 as its written in the player information

100.0

and when someone shoot anyone it stays as it is 100.0 no decrease

same to armour

i thing if player fall it decrease
and in explostions

http://www.youtube.com/watch?v=uMRJ0...ature=*********
Reply
#2

OnPlayerTakeDamage
OnPlayerGiveDamage
Reply
#3

huh??
u don't this is the solution
Reply
#4

These callback are called when a player take/give damage. However, these callbacks are not called with player use health hacks etc. Debug it and see if it gives/takes damage on player's health.
Reply
#5

i can't get you
Reply
#6

Just add these callbacks to your gamemode and add printf with the parameters in it. Then go in-game, shoot someone and then exit. Show us the server_log.txt with the debugged message.
Reply
#7

i've sent you a pm see it
Reply
#8

guys player lose health only if he fall from up
but by shooting no

any HELP?

some people can increase people health
and some cant

for example i shot someone he didn't lose health
other person shot him he died

it isn't lagging
sure 100%

because upto 5 ppl testing ths bug with me
Reply
#9

Yes ! your problem in OnPlayerTakeDamege and OnPlayerGiveDamege
Reply
#10

If the players are team mates, they won't give damage to each other, make sure that you didn't use SetPlayerTeam(playerid,1); to all players.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)