/kill command?
#1

how i do /kill and they commit suicide?
Reply
#2

pawn Код:
CMD:kill(playerid, params[])
{
    SetPlayerHealth(playerid, 0); //sets the player's health to 0 out of 100%.
   return 1;
}
Reply
#3

Quote:
Originally Posted by TheDiscussionCafe
Посмотреть сообщение
how i do /kill and they commit suicide?
pawn Код:
CMD:kill( playerid, params[ ] )
{
    SetPlayerHealth( playerid, 0 );
    SendClientMessage( playerid, -1, "You just commit suicide!" );
    return 1;
}
By a command ofcourse you can do it.

EDIT: it's like 2 seconds difference between mine and the above post 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

-FalconX
Reply
#4

wow both is good! thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)