11.06.2015, 16:37
Boa tarde, entгo sу tem 2 comandos, o problema й que so ta pegando o 1°, e ao tentar executar o segundo, executa o 1°.
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new cmd[256];
if(strcmp(cmd,"/creditos",true) == 0)
{
ShowPlayerDialog (playerid, 2, DIALOG_STYLE_MSGBOX, "** Creditos GameMode **", "Informaзхes aqui", "Fechar", "");
return 1;
}
if(strcmp(cmd, "/asaysup", true) == 0)
{
SendClientMessageToAll(-1, "|________________Suporte Avisa________________|");
new string[160];
format(string, 160, "Suporte: %s: Dъvidas? Use /duvida ou '/chamar sup', e para reportar alguйm, use /reportar.", getPName(playerid));
SendClientMessageToAll(0x00F6F6AA, string);
return 1;
}
return 1;
}


