14.03.2012, 02:46
Mi error perdon:
pawn Код:
COMMAND:report(playerid,params[])
{
new giveplayerid, reason[64];
if(sscanf(params, "us[64]", giveplayerid, reason)) return SendClientMessage(playerid, COLOR, "USE: /report [id] [rasгo]");
SendClientMessage(playerid,COLOR_GREEN,"Report Enviado!");
for(new admins;admins < MAX_PLAYERS; admins++)
{
if(PlayerInfo[admins][pAdminLevel] >= 1)
{
format(String,sizeof(String),"{FF0033}Report de {FFFFFF}%s {FF0033}[Rasгo]: %s", reason);
SendClientMessage(admins,COLOR_ORANGE,String);
break;
}
}
return 1;
}