beraktam az egy ik pranacsot:
if (strcmp(\"/gangcreate\", cmdtext, true, 15) == 0) {
CreateGang(GangNames,owner);
if(playerGang[playerid]>0) {
SendClientMessage(playerid, COLOR_RED, \"You are already in a gang!\");
return 1;
}
for(new i = 1; i < MAX_GANGS; i++) {
if(gangInfo[0]==0) {
//name gang
format(gangNames, MAX_GANG_NAME, \"%s\", tmp);
//Gang exists
gangInfo[0]=1;
//There is one member
gangInfo[1]=1;
//Gang color is player\'s color
gangInfo[2]=playerColors[playerid];
//Player is the first gang member
gangMembers[0] = playerid;
format(string, sizeof(string),\"Te Bandát Csináltál \'%s\' (id: %d)\", gangNames, i);
SendClientMessage(playerid, COLOR_GREEN, string);
return 1;
}
}
és ezt irja ki :error 017: undefined symbol \"GangNames\"