Yup, buncha errors this time around.
Ill see what i can do
Code:
c:PTrunksrcscriptssrcPvpSystemSetup.h(1) : warning C4081: expected 'identifier'; found '('
PTrunksrcscriptssrcPvpSystemSetup.cpp(7) : error C2440: '=' : cannot convert from 'const char *' to 'Player *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
PTrunksrcscriptssrcPvpSystemSetup.cpp(8) : error C2440: '=' : cannot convert from 'const char *' to 'Player *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
PTrunksrcscriptssrcPvpSystemSetup.cpp(9) : error C2440: 'initializing' : cannot convert from 'Player *' to 'char [1024]'
There are no conversions to array types, although there are conversions to references or pointers to arrays
PTrunksrcscriptssrcPvpSystemSetup.cpp(21) : error C2664: 'ScriptMgr::register_hook' : cannot convert parameter 2 from 'void (Player *,Player *,Player *,Player *)' to 'void *'
Context does not allow for disambiguation of overloaded function