10.04.2019, 13:55
another problem of mine anyone can help +rep to those people interested to help me TIA.
compile log:
Code:
Exact Line: discord_relay.pwn(42)
compile log:
Quote:
\discord_relay.pwn(42) : error 012: invalid function call, not a valid address \discord_relay.pwn(42) : warning 202: number of arguments does not match definition \discord_relay.pwn(42) : warning 202: number of arguments does not match definition \discord_relay.pwn(42) : warning 202: number of arguments does not match definition \discord_relay.pwn(42) : error 001: expected token: ";", but found ")" \discord_relay.pwn(42) : error 029: invalid expression, assumed zero \discord_relay.pwn(42) : fatal error 107: too many error messages on one line Compilation aborted. Pawn compiler 3.10.8 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
Code:
new stock DCC_Guild: discordGuild, DCC_Channel: discordGeneralChan, DCC_Channel: discordAdminChan, DCC_Channel: discordSpamChan, DCC_Role: discordRoleExecutive, DCC_Role: discordRoleHead, DCC_Role: discordRoleLead, DCC_Role: discordRoleVIP, DCC_Role: discordRoleVoice; stock DCC_SendChannelMessageFormatted( DCC_Channel: channel, const format[ ], va_args< > ) { return DCC_SendChannelMessage( channel, va_return( format, va_start< 2 > ) ); }
Code:
return DCC_SendChannelMessage( channel, va_return( format, va_start< 2 > ) );