Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REU_GetProtocol() - Not working #83

Closed
raheem-cs opened this issue Jul 22, 2017 · 4 comments
Closed

REU_GetProtocol() - Not working #83

raheem-cs opened this issue Jul 22, 2017 · 4 comments

Comments

@raheem-cs
Copy link

Hello, You ever tested this native REU_GetProtocol(iIndex)?
It gives this error: [ReAPI] Reunion: isn't available And reunion already there.

Till it's fixed if anyone need he can use this simple stock to get player protocol.

@theAsmodai
Copy link
Collaborator

Seems you are using an incompatible version of Reunion.

@WaLkZa
Copy link

WaLkZa commented Jul 23, 2017

There is a problem for sure. Tested with latest version of Reunion and ReAPI.

#include <amxmodx>
#include <reapi>

public client_putinserver(id)  
{
	if (is_user_steam(id))
	{
		console_print(id, "steamer")
	}
}

and the output

[ReAPI] Reunion: isn't available
[AMXX] Displaying debug trace (plugin "issteamchecktest.amxx", version "unknown")
[AMXX] Run time error 10: native error (native "REU_GetAuthtype")
[AMXX] [0] issteamchecktest.sma::client_putinserver(line 6)

@WPMGPRoSToTeMa
Copy link
Contributor

Try to swap reunion and amxmodx lines in metamod plugins.ini.

@WaLkZa
Copy link

WaLkZa commented Jul 23, 2017

Yep, now it's ok.
win32 addons/reunion/reunion_mm.dll
win32 addons/amxmodx/dlls/amxmodx_mm.dll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants