Unknown Command on /dept
#1

pawn Код:
stock SendDeptMessage(color, string[])
{
    foreach(Player, i) {
                if(DAccess[i] != -1) { // Department Chat Access
            SendClientMessageEx(i, color, string);
        }
    }
}
I used printf to find out what causes the Unknown Command, SendDeptMessage, for some reason only ID 0 can see the messages yet, the player will still get a Unknown Command Error, other IDs/players won't see the message and get Unknown Command Error only.

SS:



First /dept was when no players are one, Second & Third are with 1 other player on
Reply


Messages In This Thread
Unknown Command on /dept - by D_Malfoy - 29.08.2012, 18:05
Re: Unknown Command on /dept - by ddnbb - 29.08.2012, 18:11
Re: Unknown Command on /dept - by D_Malfoy - 29.08.2012, 19:21
Re: Unknown Command on /dept - by Misiur - 29.08.2012, 19:37

Forum Jump:


Users browsing this thread: 1 Guest(s)