Implemented request amb237 - added ServerPrint to Fakemeta
This commit is contained in:
@ -652,6 +652,8 @@ void ClientPrintf_post(edict_t* pEdict, PRINT_TYPE ptype, const char *szMsg)
|
||||
RETURN_META(MRES_IGNORED);
|
||||
}
|
||||
|
||||
SIMPLE_VOID_HOOK_CONSTSTRING(ServerPrint);
|
||||
|
||||
/*
|
||||
* Beginning of Engine->Game DLL hooks
|
||||
*/
|
||||
@ -1481,6 +1483,10 @@ static cell AMX_NATIVE_CALL register_forward(AMX *amx, cell *params)
|
||||
fId = MF_RegisterSPForwardByName(amx, funcname, FP_CELL, FP_CELL, FP_STRING, FP_DONE);
|
||||
ENGHOOK(ClientPrintf);
|
||||
break;
|
||||
case FM_ServerPrint:
|
||||
fId = MF_RegisterSPForwardByName(amx, funcname, FP_STRING, FP_DONE);
|
||||
ENGHOOK(ServerPrint);
|
||||
break;
|
||||
#if 0
|
||||
|
||||
// I know this does not fit with DLLFUNC(), but I dont want another native just for it.
|
||||
|
Reference in New Issue
Block a user