Not Mod Yncnr dir :)erhaba arkadaşlar ben /gruplar yazınca (https://i.hizliresim.com/X0n9Ok.png) böyle yapmak istiyordum fakat şu hatayı aldım
C:\Users\Can\Desktop\ChaTCNR\gamemodes\yncnr2.pwn(25692) : error 017: undefined symbol "lider"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Grup Kodu;
new amount[2], string[250], shortstr[55];
SendClientMessage(playerid, 0xFFFFFF, "Gruplar:");
new list[144];
format(list, sizeof(list), "Grup İsmi\tLider\tÜyeler\n");
for(new x=0; x<MAX_GROUPS; x++)
{
if(groupinfo[x][active])
{
amount[0] ++;
amount[1] ++;
format(shortstr, sizeof(shortstr), "%s[%d]", groupinfo[x][grname], x);
if(amount[1] == 1) format(string, sizeof(string), "%s", shortstr);
if(amount[1] != 1) format(string, sizeof(string), "%s %s", string, shortstr);
if(amount[0] == 4)
{
SendClientMessage(playerid, 0xFFCC66, string);
string = "";
amount[0] = 0;
}
format(list, sizeof(list), "%s%s\t%s\t%d\n", list, groupinfo[x][grname], lider, uyesayisi);
}
}
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_TABLIST_HEADERS, "Grup Listesi", list, "x", "x");
if(amount[1] == 0) SendClientMessage(playerid, 0xFFFF00, "Herhangi bir grup bulunmuyor!");
if(amount[1] != 0) SendClientMessage(playerid, 0xFFCC66, string);
yok dostum nasıl yapıcam açıklarmısın ?
Yaptım teşekkürler :)