27.03.2010, 22:02
Ai pessoal meu gm ta o seguinte й quando eu digito /talcomando ele aparece o comando de /ajuda alguem sabe porque
if (strcmp("/talcomando", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COR_VERDE, "MENSAGEM AKI XD.");
return 1;
}
#define COR 0xAA3333AA // topo do gm
///
///
//
//
public OnPlayerCommandText(playerid, cmdtext[]) // Public
{
if (strcmp("/cmdaqui", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COR," Para Objter os comandos use /ajuda D:");
return 1;
}
return 0;
}
//ONPlayerCommandText
new cmd[256];
if(strcmp(cmd,"/oi",true)==0)
{
SendClientMessage(playerid, COR_BRANCO, "Tchau");
return 1;