Fail Command!
#2

put
new playername[24];
new string[56];

inside of the dcmd_fail

like this...

Код:
dcmd_fail(playerid, params[])
{
    new playername[24];
    new string[56];
    GetPlayerName(playerid, playername, sizeof (playername));
    format(string, sizeof(string), "%s failed!", playername);
    SendClientMessageToAll (COLOR_RED, string);
    return 1;
}
EDIT: Also change dcmd(fail, 1, cmdtext); to dcmd(fail, 4, cmdtext); seeing as fail is not 1 letter
Reply


Messages In This Thread
Fail Command! - by Luis_Leone - 03.08.2010, 01:40
Re: Fail Command! - by marharth - 03.08.2010, 01:43
Re: Fail Command! - by BP13 - 03.08.2010, 01:44
Re: Fail Command! - by Luis_Leone - 03.08.2010, 02:08

Forum Jump:


Users browsing this thread: 1 Guest(s)