Implemented request amb237 - added ServerPrint to Fakemeta
This commit is contained in:
@ -1072,6 +1072,11 @@ static cell AMX_NATIVE_CALL engfunc(AMX *amx, cell *params)
|
||||
|
||||
(*g_engfuncs.pfnClientPrintf)(INDEXENT2(index), static_cast<PRINT_TYPE>(iparam1), temp);
|
||||
return 1;
|
||||
case EngFunc_ServerPrint: // void ) (const char *szMsg);
|
||||
temp = MF_GetAmxString(amx, params[2], 0, &len);
|
||||
|
||||
(*g_engfuncs.pfnServerPrint)(temp);
|
||||
return 1;
|
||||
default:
|
||||
MF_LogError(amx, AMX_ERR_NATIVE, "Unknown engfunc type %d", type);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user