tess rem jó lesz nem teszteltem:
if (strcmp(cmd, \"/vips\", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SCM(playerid, COLOR_SZIN, \"ELÉRHETÕ V.I.P:\");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo2[playerid][level] == 2 && PlayerInfo2[playerid][level] < 6)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, \"VIP: %s\", sendername);
SCM(playerid, COLOR_SZIN, string);
}
}
}
}
return 1;
}