17.05.2020, 12:38
Pessoal, eu instalei a include DCC (Discord command controller) mas ao compilar a gamemode dб erro em certas linhas da include.
LINHAS:
PHP Code:
error 001: expected token: ")", but found "<"
warning 231: state specification on forward declaration is ignored
error 001: expected token: ";", but found ")"
error 001: expected token: ")", but found "<"
error 085: no states are defined for symbol "SendDC"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
PHP Code:
forward OnDCCommandPerformed(args[], success);
forward SendDC(channel[], const fmat[], va_args<>);
//Functions
public SendDC(channel[], const fmat[], va_args<>)
{
new
str[145];
va_format(str, sizeof (str), fmat, va_start<2>);
BotChannel = DCC_FindChannelById(channel);
return DCC_SendChannelMessage(BotChannel, str);
}