-
Notifications
You must be signed in to change notification settings - Fork 9
Fix deprecations, correct return values #96
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
Conversation
they declared like new functions, but it's not
remove natives which already exist
This PR contains multiple changes, and I will be reviewing it over the next few days. Thank you for your contribution! 😊 |
in example amx gamemode folder
like it's shipped with samp server package
as it confuses a user when it's already .md one in the repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, I would definitely want to merge it.
I was wondering if the changes were properly tested since I don't have the environment setup for this at the moment. Are there any side effects? Thanks!
Sure, I'll make some additional tests covering as wide function list as possible and let you know if everything will be good (or make some additional tweaks if not) |
After a long and comprehensive test I fixed a lot of things, mainly those which were present before my changes, but anyway I decided to extend the current pull request with them:
Now I can say for sure it's stable and can be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed your changes and they look good to me. If anything we can revert and correct. Thank you for your contribution, I will be merging this!
Thank you so much. If you'll have some time, could you also solve #97 please? I tried to include only necessary things which could be done with little effort but major impact on how the installation will become more easier for any newbie who come here to try it |
Ok, seems I understand. The issue starts appearing when no classes was added and thus no spawninfo available. If this is the case, this code inside TogglePlayerSpectating is called and do the wrong thing. I already working on fix and it will be in the next PR very soon, thank you. |
@colistro123 can you test it again with changes from this tempo fork? Before I finish some other things and make a pull request with complete description, I would like to understand that now everything is definitely good regarding classes selection system |
Thanks, I commented on your other commit (1) and (2). It's been a while since commits were made to this repo and this isn't known information as of yet, but in the future (for now you can leave as-is) I would prefer it if PRs were broken down per feature. Since I believe it would make things easier to test and revert until it's on a working state if that's ok. 😊 i.e. I appreciate all the contributions you have made, thank you! |
Sure. Sorry for the mess with the current approach, it's definitely better to split up every major (and probably even many minor) changes into separate PRs so it will be much easier to review and track it all in future. |
notImplemented
function call since it actually just returns invalid vehicle ID value similar to GetPlayerSurfingObjectID, and there is no working implementation for actual surfing