Raised This Month: $51 Target: $400
 12% 

Error 147 while compiling


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MarshZ
Junior Member
Join Date: Sep 2019
Old 12-25-2019 , 22:55   Error 147 while compiling
Reply With Quote #1

im trying to compile a plugin for zombiereloaded and i got an error.
it says Error 147 new-style declarations are required on this line

public ZR_OnClientInfected(int client,int attacker, bool motherInfect, bool respawnOverride, bool respawn)

how do i solve this?
MarshZ is offline
Kolapsicle
Senior Member
Join Date: Oct 2014
Old 12-26-2019 , 03:02   Re: Error 147 while compiling
Reply With Quote #2

It's probably complaining because you're missing a function type. Try adding "void" (or relevant return type) after the "public" keyword.

Last edited by Kolapsicle; 12-26-2019 at 03:03.
Kolapsicle is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode