Code
ocmd:members(playerid, params[])
{
new str[256], plyrs[256];
for (new i=0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][frak] == PlayerInfo[playerid][frak])
{
format(plyrs, sizeof(plyrs), "%s", PlayerInfo[i][pName]);
}
}
format(str, sizeof(str), "%s\n", plyrs);
ShowPlayerDialog(playerid, 0, 2, "Members", str, "Schließen", "");
return 1;
}
Alles anzeigen
sowas z.B.?