how to make a kill
#4

Quote:

#include <zcmd>

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/kill", true))//the command
    {
        SetPlayerHealth(playerid, 0);
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: You Killed u self shame u!");//the text if the player died
        return 1;
    }
    return 0;
}
Or with zcmd
Quote:

#include <zcmd>

Код:
CMD:kill(playerid, params[])
{
         SetPlayerHealth(playerid, 0);
         return 1;
}
get zcmd from here http://www.solidfiles.com/d/d20f/ placein /servername/pawno/include

here u are NOTE:U get an error reply i will help!
Reply


Messages In This Thread
how to make a kill - by DerickClark - 31.10.2012, 11:30
Re: how to make a kill - by [HK]Ryder[AN] - 31.10.2012, 11:36
Re: how to make a kill - by 'Pawno. - 31.10.2012, 11:37
Re: how to make a kill - by Mustafa6155 - 31.10.2012, 11:39
Re: how to make a kill - by [HK]Ryder[AN] - 31.10.2012, 11:39

Forum Jump:


Users browsing this thread: 1 Guest(s)