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

Adding setVehicleNitroActivated server-side #3706

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Proxy-99
Copy link
Contributor

@Proxy-99 Proxy-99 commented Sep 8, 2024

part of #3703 help with #2726

Client/mods/deathmatch/logic/rpc/CVehicleRPCs.cpp Outdated Show resolved Hide resolved
Client/mods/deathmatch/logic/rpc/CVehicleRPCs.cpp Outdated Show resolved Hide resolved
@Proxy-99 Proxy-99 requested a review from FileEX September 9, 2024 21:56
Copy link
Contributor

@FileEX FileEX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember to add a condition to CLuaVehicleDefs::SetVehicleNitroActivated in the future whether the new state is different from the previous one (When IsVehicleNitroActivated will be available)

if (state == IsVehicleNitroActivated(vehicle))
    return false;

@tederis tederis added the enhancement New feature or request label Sep 10, 2024
Shared/sdk/net/rpc_enums.h Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants