05.07.2013, 19:17
(
Последний раз редактировалось viniciuship; 05.07.2013 в 19:23.
Причина: Errei Codigo
)
Tenta Esse Outro Se Nгo Funcionou o Meu 1
pawn Код:
if (strcmp(cmd, "/socios", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COR_GRO, "Sуcios Online:");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[playerid][pAdmin] < 1340)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pSocio] == 1)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, "Sуcio: %s[Socio Bronze]", sendername);
SendClientMessage(playerid, COR_SOCIOB, string);
}
else if(PlayerInfo[i][pSocio] == 2)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,256, "Sуcio: %s[Socio Prata]",sendername);
SendClientMessage(playerid, COR_SOCIOP, string);
}
else if(PlayerInfo[i][pSocio] == 3)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,256, "Sуcio: %s[Socio Ouro]",sendername);
SendClientMessage(playerid, COR_SOCIOO, string);
}
else if(PlayerInfo[i][pSocio] == 4)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,256, "Sуcio: %s[Socio Diamante]",sendername);
SendClientMessage(playerid, COR_SOCIOD, string);
}
}
}
}
}
return 1;
}