[Help] WTF is this error
#3

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new idx;
    new cmd[256];
    new string[256];

    if(strcmp(cmd, "/cmds", true) == 0)
    {
        SendClientMessage(playerid,COLOR_PSAT,"/cmds");
        SendClientMessage(playerid,COLOR_PSAT,"/kill");
        SendClientMessage(playerid,COLOR_PSAT,"Have you have some question? Contact some admin stuff or go to our forums <forum>");
        return 1;
    }
   
    if(strcmp(cmd, "/kill", true) == 0)
    {
        SetPlayerHealth(playerid,0);
        SetPlayerArmour(playerid,0);
        SendClientMessage(playerid,COLOR_PSAT,"You have killed yourself!!");
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
[Help] WTF is this error - by Psat - 26.08.2012, 10:48
Re: [Help] WTF is this error - by Scrillex - 26.08.2012, 10:50
Re: [Help] WTF is this error - by Moh_ - 26.08.2012, 10:51

Forum Jump:


Users browsing this thread: 2 Guest(s)