Facepalm Command!?
#10

Quote:
Originally Posted by Mr.Anonymous
Посмотреть сообщение
Try this:

pawn Код:
COMMAND:fp(playerid, params[])
{
    new Player;
        new Str[128], Name[24], Target[24];
    if(!sscanf(params, "d", Target)) return SendClientMessage(playerid, 0xFF00FFFF, "USAGE: /facepalm [id]");

    if(!IsPlayerConnected(Target))
        SendClientMessage(playerid, 0xFFFFFFFF, "Player is not connected");

    GetPlayerName(playerid, Name, 24);
    GetPlayerName(PlayerId, Target, 24);
    format(Str, 128, "%s facepalms towards %s", Name, Target);
    SendClientMessageToAll(0xFFFFFFFF, Str);
    return 1;
}
Doesn't work. I check this and when I type /fp it says Mexix facepalms towards Mexix (Mexix is my in game name)
Reply


Messages In This Thread
Facepalm Command!? - by martin3644 - 18.12.2012, 18:59
Re: Facepalm Command!? - by martin3644 - 18.12.2012, 19:07
Re: Facepalm Command!? - by LetsOWN[PL] - 18.12.2012, 19:12
Re: Facepalm Command!? - by martin3644 - 18.12.2012, 19:14
Re: Facepalm Command!? - by LetsOWN[PL] - 18.12.2012, 19:14
Re: Facepalm Command!? - by martin3644 - 18.12.2012, 19:17
Re: Facepalm Command!? - by yaron0600 - 18.12.2012, 19:23
Re: Facepalm Command!? - by Mr.Anonymous - 18.12.2012, 19:24
Re: Facepalm Command!? - by Mike_Peterson - 18.12.2012, 19:24
Re: Facepalm Command!? - by martin3644 - 18.12.2012, 19:33

Forum Jump:


Users browsing this thread: 2 Guest(s)