24.01.2011, 10:18
Do the other messages get sent? Are you sure the coordinates are correct?
Also, the following line will not work:
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
Also, the following line will not work:
pawn Код:
SetPlayerHealth(i, GetPlayerHealth(i, h) -1.0);
pawn Код:
GetPlayerHealth( i, h );
SetPlayerHealth( i, h - 1.0 );