-
-
Notifications
You must be signed in to change notification settings - Fork 412
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
Object respawn functions #3450
base: master
Are you sure you want to change the base?
Object respawn functions #3450
Conversation
Would |
Yes - I don't think it matters when it comes to returning false for toggleObjectRespawn, because the object respawn logic checks if the object has 0 hp anyway, so returning false for unbreakable objects won't change much here mtasa-blue/Client/mods/deathmatch/logic/CClientObject.cpp Lines 432 to 434 in d93287d
mtasa-blue/Client/mods/deathmatch/logic/CClientObject.cpp Lines 463 to 471 in d93287d
|
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.
Good job!
Added
respawnObject
andtoggleObjectRespawn
to the server-side.Added new function
isObjectRespawnable
as shared function.This PR is part of #3405