CMD:procurados(playerid, params[])
{
if(!PlayerToPoint(9.5,playerid,330.7844,129.2914,1007.9657))
if(IsACopFCar(playerid))
{
MEGAString[0] = EOS;
new string[128];
strcat(MEGAString,"Nick\tID\tOrganizaзгo\tLevel de Procura\n");
foreach(Player, i)
{
if(GetPlayerWantedLevelEx(i) != 0 && !IsACop(i) && GetPlayerOrg(i) != 12)
{
if(GetPlayerWantedLevelEx(i) >= 10)
{
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, sizeof string, "%s\t%d\t%s\t{FF6347}%d\n", giveplayer,i,AbrevORG(i),WantedPoints[i]);
strcat(MEGAString,string);
}
else
{
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, sizeof string, "%s\t%d\t%s\t%d\n", giveplayer,i,AbrevORG(i),WantedPoints[i]);
strcat(MEGAString,string);
}
}
}
ShowPlayerDialog(playerid, 9937, 5, "Suspeitos Atuais",MEGAString,"Ok","Sair");
}
else if(GetPlayerOrg(playerid) == 3)
{
MEGAString[0] = EOS;
new string[128];
strcat(MEGAString,"Nick\tID\tOrganizaзгo\tLevel de Procura\n");
foreach(Player, i)
{
if(GetPlayerWantedLevelEx(i) != 0 && !IsACop(i))
{
if(GetPlayerOrg(i) == 12)
{
if(GetPlayerWantedLevelEx(i) >= 10)
{
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, sizeof string, "%s\t%d\t%s\t{FF6347}%d\n", giveplayer,i,AbrevORG(i),WantedPoints[i]);
strcat(MEGAString,string);
}
else
{
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, sizeof string, "%s\t%d\t%s\t%d\n", giveplayer,i,AbrevORG(i),WantedPoints[i]);
strcat(MEGAString,string);
}
}
}
}
ShowPlayerDialog(playerid, 9937, 5, "Suspeitos Atuais",MEGAString,"Ok","Sair");
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Vocк nгo e um oficial!");
}
return 1;
}
if(!IsPlayerInRangeOfPoint(playerid,9.5,330.7844,129.2914,1007.9657)) return SendClientMessage(playerid, -1,"Nгo estб no local...");
Код:
if(!IsPlayerInRangeOfPoint(playerid,9.5,330.7844,129.2914,1007.9657)) return SendClientMessage(playerid, -1,"Nгo estб no local..."); |
: warning: 213: tag mismatch
: error: 001: expected token: ",", but found "-rational value-"
: warning: 215: expression has no effect
: warning: 215: expression has no effect
: error: 001: expected token: ";", but found ")"
: error: 029: invalid expression, assumed zero
: error fatal: 107: too many error messages on one line
if(!PlayerToPoint(9.5,playerid,330.7844,129.2914,1007.9657)) return SendClientMessage(playerid, -1,"Nгo estб no local...");