[HELP] Command Help
#3

Quote:
Originally Posted by Stevo127
Посмотреть сообщение
pawn Код:
if(strcmp(cmd, "/a***f**k", true) == 0)
{
    if(IsPlayerAdmin(playerid))
    {
        if(strlen(tmp) == 0) return SendClientMessage(playerid, COLOR_ORANGE, "USAGE: /analfuck [id]");
        if(!IsPlayerConnected(strval(tmp))) return SendClientMessage(playerid, 0xFFFFFFFF, "Player not connected.");
        new str[128],fpname[MAX_PLAYER_NAME],myname[MAX_PLAYER_NAME];
        GetPlayerName(strval(tmp),fpname,sizeof(fpname));
        GetPlayerName(playerid,myname,sizeof(myname));
        format(str,128,"%s has taken %s's *********. He ***** them into their ****! The impact was so hard that the user died!",myname,fpname);
        SetPlayerHealth(playerid, 0);
        SendClientMessageToAll(0xFF66FFAA,str);
    }
    return 1;
}
Errors. Many Errors :S
Reply


Messages In This Thread
[HELP] Command Help - by martin3644 - 19.01.2013, 23:53
Re: [HELP] Command Help - by Stevo127 - 19.01.2013, 23:56
Re: [HELP] Command Help - by martin3644 - 19.01.2013, 23:57
Re: [HELP] Command Help - by martin3644 - 20.01.2013, 00:00
Re: [HELP] Command Help - by Stevo127 - 20.01.2013, 00:01

Forum Jump:


Users browsing this thread: 1 Guest(s)