Hello need help about IsPlayerInArea please help.
#5

Do the other messages get sent? Are you sure the coordinates are correct?

Also, the following line will not work:
pawn Код:
SetPlayerHealth(i, GetPlayerHealth(i, h) -1.0);
GetPlayerHealth stores the player's health within the given variable, the function doesn't return the value itself. You will need to adjust the code, like so, to get it to work correctly
pawn Код:
GetPlayerHealth( i, h );
SetPlayerHealth( i, h - 1.0 );
Reply


Messages In This Thread
Hello need help about IsPlayerInArea please help. - by trapped1 - 23.01.2011, 22:26
Re: Hello need help about IsPlayerInArea please help. - by Janek17 - 23.01.2011, 22:30
Re: Hello need help about IsPlayerInArea please help. - by trapped1 - 23.01.2011, 22:35
Re: Hello need help about IsPlayerInArea please help. - by trapped1 - 24.01.2011, 10:14
Re: Hello need help about IsPlayerInArea please help. - by Grim_ - 24.01.2011, 10:18

Forum Jump:


Users browsing this thread: 2 Guest(s)