/kill commands goes crazy
#5

That must work, otherwise you're doing it wrong.

Just look
Код:
SetPlayerHealth(playerid, 0,0);
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
Код:
SetPlayerHealth(playerid, 0.0);
So it would be zero point zero (player will die), not zero comma zero.
Reply


Messages In This Thread
/kill commands goes crazy - by Tisca - 13.06.2009, 09:56
Re: /kill commands goes crazy - by Abernethy - 13.06.2009, 10:00
Re: /kill commands goes crazy - by ByFukara - 13.06.2009, 10:03
Re: /kill commands goes crazy - by Tisca - 13.06.2009, 10:07
Re: /kill commands goes crazy - by ZaZa - 13.06.2009, 10:46
Re: /kill commands goes crazy - by Burridge - 13.06.2009, 10:50
Re: /kill commands goes crazy - by ZaZa - 13.06.2009, 10:52

Forum Jump:


Users browsing this thread: 1 Guest(s)