02.05.2016, 05:30
Код:
if(strcmp(cmd,"/Previsao",true)==0)
{
if( pInfo[ playerid ][ Prof ] == METEOROLOGISTA || aInfo[ playerid ][ Admin ] == 1 )
{
new string[256];
new i;
new randMSG = random(sizeof(RandomPrevisao));
format(string,sizeof(string),"%s disse %s ",PlayerName( i ),RandomPrevisao[randMSG]);
SendClientMessageToAll( -1, string ); }
else
{
SendClientMessage(playerid, COLOR_ERRO,"| ERRO | Você não tem permissão!");
return 1;
}
}

