Need Help With A Command.
#3

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/kill", cmdtext, true) == 0)
    {
        SetPlayerHealth(playerid, 0);
        SendClientMessage(playerid, Color, "You Killed YourSelf"); //Change The Color You Can Also Send Message to all
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Need Help With A Command. - by Azzy - 26.03.2011, 16:23
Re: Need Help With A Command. - by aircombat - 26.03.2011, 16:35
Re: Need Help With A Command. - by Mr_Scripter - 26.03.2011, 16:38

Forum Jump:


Users browsing this thread: 2 Guest(s)