2021-01-20, 08:10 PM
(2021-01-20, 12:50 PM)sampaux Wrote:Code:for(new i = 0;i < 100;i)
{
? if(PlayerInfo[i][cargo] != 0)
? {
? ? GameTextForPlayer(i, "~r~Novo Report!", 3000, 5);
? ? GetPlayerName(id, reportado, sizeof(reportado));
? ? GetPlayerName(playerid, reportador, sizeof(reportador));
? ? format(report, sizeof(report), "Nick e id: %s [%d]\nMotivo: %s\nReportado por: %s", reportado, id, motivo, reportador);
? ? SendClientMessage(i, -1, "====={4291ff}Novo Report{FFFFFF}=====");
? ? SendClientMessage(i, -1, report);
? }
? else
? {
? ? ?SendClientMessage(i, -1, "asdadsadad");//I put it?in else?to prove that code only sends else
? }
}
When u make a user is an admin, do u change the?PlayerInfo[playerid][cargo] value?