-
Notifications
You must be signed in to change notification settings - Fork 91
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
Streamer crash with sampgdk on windows[Maybe linux too] #13
Comments
By the way why you don't use static_cast(params[2]) to get player id instead of amx_GetAddr !? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Finally I could find out the main problem with streamer.
I call streamer hooks normally with InvokeNative but when the executing line arrives at streamer code in internal.cpp :
after amx_GetAddr the playerid is still null so accessing the address that it points too cause crash on next line >> *playerid
Don't know if this is a streamer problem or GDK so I posted it on GDK page too.
Please close it if it's unrelated with streamer code or please shed some light if you know anything!
The text was updated successfully, but these errors were encountered: