SA-MP Forums Archive
fatal error 107: too many error messages on one line (+rep) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: fatal error 107: too many error messages on one line (+rep) (/showthread.php?tid=665600)



fatal error 107: too many error messages on one line (+rep) - PiLLoW - 10.04.2019

another problem of mine anyone can help +rep to those people interested to help me TIA.

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:
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 > ) );
}
Exact Line: discord_relay.pwn(42)
Code:
return DCC_SendChannelMessage( channel, va_return( format, va_start< 2 > ) );



Re: fatal error 107: too many error messages on one line (+rep) - PiLLoW - 10.04.2019

Quote:
Originally Posted by Y_Less
View Post
https://forum.sa-mp.com/showpost.php...68&postcount=4

This is a perfect example of what I was just talking about in the other topic. This is exactly what the deleted question was, but there was obviously no way for you to have known that. Had the other poster not deleted their questions, everyone could have learnt from the same information at the same time.
Thanks Sir very appreciate