View Single Post
nosoop
Veteran Member
Join Date: Aug 2014
Old 07-14-2022 , 23:57   Re: Error 100, Function Prototypes. How to Fix?
Reply With Quote #2

Your event function needs to have one of these exact return types and arguments, since that's what HookEvent expects.

Code:
void event(Event ev, const char[] name, bool dontBroadcast) {
    // ...
}
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 07-14-2022 at 23:57.
nosoop is offline