komashchenko / PTaH

Additional CS:GO Hooks and Natives
GNU General Public License v3.0
78 stars 42 forks source link

function prototypes do not match #11

Closed lemeshovich closed 5 years ago

lemeshovich commented 5 years ago

when im trying to compile plugin with your ext im getting that error .sp(17) : error 100: function prototypes do not match 17 row is PTaH(PTaH_ServerConsolePrint, Hook, ServerConsolePrintHook);

lemeshovich commented 5 years ago

PTaH(PTaH_ConsolePrint, Hook, ConsolePrintHook); is working with no problems what could be the reason?

komashchenko commented 5 years ago

https://github.com/komashchenko/PTaH/blob/master/PTaH.inc#L445

lemeshovich commented 5 years ago

Thank you, problem was i had wrong parameters.