SetPlayerHealth(playerid, 0) ?
#1

With SetPlayerHealth(playerid, 0); the player doesn't die immediately, and can walk, always.. I tried like 15-20times...
I started a new gm, at the moment i have 1.8 klines... what can be wrong?
Reply
#2

Show us the code, something can be wrong there.
Reply
#3

Код:
if(sInfo[playerid][Slapes]==1)
{
        SetPlayerHealth(playerid, 0.0);
        TextDrawHideForPlayer(playerid, SlapesTextDrawRaditajs__);
        TextDrawHideForPlayer(playerid, SlapesTextDrawRaditajs_0);
}
Reply
#4

I've seen this issue on a few servers, it's most likely due to the script. Put the code to test in a blank script and see of it still happens. If it doesn't, then it's the script.

Or you could just force an animation (or a custom scene) without the ability to move.
Reply
#5

I also tried simply with command:

Код:
CMD:kill(playerid, params[])
{
    SetPlayerHealth(playerid, 0.0);
    return 1;
}
Reply
#6

Put that command in a blank script. If the issue doesn't occur then it has something to do with your script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)