[Ajuda] Problema "Unknow Command"
#1

O problema й que para evitar a famosa frase de erro de comando samp se usa geralmente uma TextDraw ou uma SendClientMessage, porйm eu vi no sistema do Garfield (GM Moro Logo Ali), esse cуdigo mas nгo sei como colocб-lo no meu GM! cуdigo muito bacana porйm da erro.

Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
	new CMDtxt[128]
	if(!success) //linha 6505
	{
        TextDrawSetString(CMDtxt[playerid], Desbug("Comando invalido, digite /cmds.")); //linha 6507
        TextDrawShowForPlayer(playerid, CMDtxt[playerid]); //linha 6508
        SetTimerEx("@HideWrongCommand", 2000, false, "i", playerid);
        return 1;
    }
	return 1;
}
Quote:

x.pwn(6505) : error 001: expected token: ";", but found "if"
x.pwn(6507) : warning 213: tag mismatch
x.pwn(6507) : error 017: undefined symbol "Desbug"
x.pwn(650 : warning 213: tag mismatch

Reply


Messages In This Thread
Problema "Unknow Command" - by F1N4L - 28.10.2015, 01:23
Re: Problema "Unknow Command" - by SepZ - 28.10.2015, 02:49
Re: Problema "Unknow Command" - by Galhardo - 28.10.2015, 03:13
Re: Problema "Unknow Command" - by F1N4L - 28.10.2015, 23:09

Forum Jump:


Users browsing this thread: 1 Guest(s)