This command works fine, but after it says "invalid command" at the end?
#1

it lists the online groups, then it says Invalid command.
Reply
#2

add return 1 to here :

pawn Код:
{
        if(PlayerInfo[i][Group] == 0) continue;
        gCount++;
        Groupss[PlayerInfo[i][Group]] = true;
        format(str,sizeof(str),"%s(%d),", Groups[PlayerInfo[i][Group]][GroupName], PlayerInfo[i][Group]);
        strins(string,str,strlen(string));
        return 1; // Here.
    }
Reply
#3

but then
pawn Код:
strdel(string, strlen(string) - 1, strlen(string));
..?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)