Make /kill Command [Rep +1]
#3

Quote:
Originally Posted by doreto
Посмотреть сообщение
pawn Код:
stock PlayerName(i)// PlayerName(playerid) that you will use it if you wonna
{
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(i,pname,MAX_PLAYER_NAME);
    return pname;
}




CMD:kill(playerid,params[])
{
    SetPlayerHealth(playerid,-1);
    new string[50];
    format(string,sizeof(string),"%s has Commited a Sucide.",PlayerName(playerid)); // if you have your own getplayername stock change PlayerName(playerid) wich your!!
    SendClientMessageToAll(-1,string);
    return true;
}
If I have helped you click on
Tried but many error messages..
Reply


Messages In This Thread
Make /kill Command [Rep +1] - by MichaelProPlayer - 04.05.2012, 13:42
Re: Make /kill Command [Rep +1] - by doreto - 04.05.2012, 13:49
Re: Make /kill Command [Rep +1] - by MichaelProPlayer - 04.05.2012, 13:57
Re: Make /kill Command [Rep +1] - by doreto - 04.05.2012, 13:59
Re: Make /kill Command [Rep +1] - by MichaelProPlayer - 04.05.2012, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)