30.06.2011, 18:35
pawn Код:
if(strcmp("/guardioes", cmdtext, true) == 0)
{
if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "[!] Vocк nгo estб conectado!");
SendClientMessage(playerid, -1, "Guardiхes Online:");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i)) return SendClientMessage(playerid, -1, "[!] No momento nгo hб guardiхes online!");
if(Guardioes[playerid] >= 1)
{
new string[15];
new Nome[MAX_PLAYER_NAME];
GetPlayerName(i, Nome, sizeofNome));
format(string, 15, "Guardiгo: %s", Nome);
SendClientMessage(playerid, -1, string);
}
}
return 1;
}