LOL, VIP Moderador
Simples....
pawn Код:
if (strcmp(cmd,"/vips",true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid,COR,"VIPs Online");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pVIP] == 1)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,256,"VIP level 1 %s",sendername);
SendClientMessage(playerid,COR,string);
}
else if(PlayerInfo[i][pVIP] == 2)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,256,"VIP level 2 %s (Temporбrio)",sendername);
SendClientMessage(playerid,COR,string);
}
else if(PlayerInfo[i][pVIP] == 3)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,256,"VIP level 3 %s(Moderador)",sendername);
SendClientMessage(playerid,COR,string);
}
else if(PlayerInfo[i][pVIP] == 4)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,256,"VIP level 4 %s(Sub Vip)",sendername);
SendClientMessage(playerid,COR,string);
}
else if(PlayerInfo[i][pVIP] == 5)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,256,"VIP level 5 %s(Game Master)",sendername);
SendClientMessage(playerid,COR,string);
}
}
}
}
return 1;
}
OBS.: pVIP depende do seu GM. Se for godfather serб pDonaterRank
Tenta isso, nгo testei