Hello guys, i have this command between the others:
and i get this error:
and the line is this:
Whats the problem over here? i've made it like in tutorials..
Code:
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:
Code:
error 017: undefined symbol "CMD_ooc"
and the line is this:
Code:
return CMD_ooc(playerid, params);
Whats the problem over here? i've made it like in tutorials..