Код:
if (strcmp(cmd, "/forbs", true) == 0||strcmp(cmd, "/mone", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SCM(playerid, COLOR_LIGHTRED, "______Алигархи Online_____");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(GetPlayerMoney(i) >= 5000000)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, " %s [%d] %d", sendername, i, GetPlayerMoney(i));
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
}
}
}
return 1;
}
Последнее редактирование модератором: