04.06.2012, 02:42
how i do /kill and they commit suicide?
CMD:kill(playerid, params[])
{
SetPlayerHealth(playerid, 0); //sets the player's health to 0 out of 100%.
return 1;
}
CMD:kill( playerid, params[ ] )
{
SetPlayerHealth( playerid, 0 );
SendClientMessage( playerid, -1, "You just commit suicide!" );
return 1;
}
but it shows 1 min because I was writing it on 55 seconds and I posted it on the next minute. I am 5 seconds late 