MRecipient Filter for CS:GO
Trying to port a MetaMod:Source plugin from CS:S to CS:GO. Seems like there are changes to the interface that is used by the old MRecipient Filter.
Does anyone have an updated one working for CS:GO? I looked but didn't find answers to all the questions. Thanks. |
Re: MRecipient Filter for CS:GO
What error are you receiving? Don’t know if you saw earlier but in MRecipientFilter.cpp I was having a problem with
Code:
edict_t *pPlayer = engine->PEntityOfEntIndex(i) Code:
edict_t* pPlayer = (edict_t *)(gpGlobals->pEdicts + i) |
Re: MRecipient Filter for CS:GO
Code:
make -f Makefile dmg_mm Also, how did you resolve the "Say" message? It appears that engine->UserMesageBegin() has changed. Did its use change as well? I used this: Code:
void DmgPlugin::SayText ( //say text to individual player Thanks for your help. |
Re: MRecipient Filter for CS:GO
Quote:
So, that's fixed by using Count() instead. |
Re: MRecipient Filter for CS:GO
OK, I looked in the source for SourceMod - UserMessages.cpp and found the correct call for UserMessageBegin(). Looks like the plug-in is sending out "say" commands as it should.
|
All times are GMT -4. The time now is 00:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.