SA-MP Forums Archive
2 ERRORS! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 2 ERRORS! (/showthread.php?tid=322917)



2 ERRORS! - danielhertz - 04.03.2012

filterscripts\Gangs.pwn(193) : error 017: undefined symbol "gangid"
filterscripts\Gangs.pwn(19 : error 017: undefined symbol "gangid"

Code(lines):
PHP код:
stock DisplayGangMembers(groupidplayerid)
{
    new 
amount[2], string[200], shortstr[55], pname[24];
    
format(stringsizeof(string), "Group Members for %s(ID:%d)"ganginfo[gangid][grname], gangid);
    
SendClientMessage(playerid0xFFFFFFstring);
    
string "";
    for(new 
xx<MAX_PLAYERSx++)
    {
        if(
gang[x][gid] == gangid)
        { 
what's the problem here?


Re: 2 ERRORS! - danielhertz - 04.03.2012

nvm solved.