new one still doesnt work
Code:
srcPvpSystemSetup.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
..srcPvpSystemSetup.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
..srcPvpSystemSetup.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
..srcPvpSystemSetup.cpp(21) : error C2664: 'ScriptMgr::register_hook' : cannot convert parameter 2 from 'overloaded-function' to 'void *'
Context does not allow for disambiguation of overloaded function