03.08.2010, 01:43
put
new playername[24];
new string[56];
inside of the dcmd_fail
like this...
EDIT: Also change dcmd(fail, 1, cmdtext); to dcmd(fail, 4, cmdtext); seeing as fail is not 1 letter
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; }