pawn Код:
//===============================================GPS===================================================================
{
if (strcmp("/gps", cmdtext, true) == 0)
{
ShowPlayerDialog(playerid, NUTZ1, DIALOG_STYLE_LIST, "GPS- Brasil Master Games", "Prefeitura \nDepartamento Policial \n24-7 \nLoja de Armas", "Selecionar", "Nгo Aperte");
return 1;
}
return 0;
}
//============================ й creu minha gente=======================================================================================
if(strcmp(cmd, "/creu", true) == 0 || strcmp(cmd, "/crйu", true) == 0) //<<< linha que da o warning 225
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s estб danзando o Crйu BMG OWNED ^^!.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ApplyAnimation(playerid,"CHOPPA","CHOPPA_back",4.1,1,1,1,1,1);
return 1;
}
Tire o return 0; dali, caso nгo tenha no final do callback OnPlayerCommandText, coloque lб, depois de todos os comandos.