zCMD problem
#1

Hello guys, i have this command between the others:

pawn Код:
CMD:o(playerid, params[])
{
    new string[128];
    if((noooc) && PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GRAD2, "The OOC channel has been disabled by an Admin !");
    if(PlayerInfo[playerid][pMuted] == 1) return SendClientMessage(playerid, TEAM_CYAN_COLOR, "You can't speak, you have been silenced !");
    GetPlayerName(playerid, sendername, sizeof(sendername));
    if(isnull(params)) return SendClientMessage(playerid, COLOR_CMD, "USAGE: (/o)oc [text]");
    format(string, sizeof(string), "(( %s: %s ))", sendername, result);
    OOCOff(COLOR_OOC,string);
    printf("%s", string);
    return CMD_ooc(playerid, params);
}
and i get this error:

pawn Код:
error 017: undefined symbol "CMD_ooc"
and the line is this:

pawn Код:
return CMD_ooc(playerid, params);
Whats the problem over here? i've made it like in tutorials..
Reply


Messages In This Thread
zCMD problem - by a1m[z0r] - 17.04.2017, 08:30
Re: zCMD problem - by Zav1337 - 17.04.2017, 08:46
Re: zCMD problem - by a1m[z0r] - 17.04.2017, 09:51
Re: zCMD problem - by Younes44 - 17.04.2017, 09:56
Re: zCMD problem - by Astralis - 17.04.2017, 11:02
Re: zCMD problem - by a1m[z0r] - 17.04.2017, 11:57
Re: zCMD problem - by Astralis - 17.04.2017, 12:34
Re: zCMD problem - by Jessyy - 17.04.2017, 13:35
Re: zCMD problem - by a1m[z0r] - 17.04.2017, 14:00

Forum Jump:


Users browsing this thread: 1 Guest(s)