13.06.2009, 10:46
That must work, otherwise you're doing it wrong.
Just look
In that code you give 3 parameters, which are:
playerid
0
0
But SetPlayerHealth requires 2 parameters, which are:
playerid
health amount
So you must do
So it would be zero point zero (player will die), not zero comma zero.
Just look
Код:
SetPlayerHealth(playerid, 0,0);
playerid
0
0
But SetPlayerHealth requires 2 parameters, which are:
playerid
health amount
So you must do
Код:
SetPlayerHealth(playerid, 0.0);