-
-
Notifications
You must be signed in to change notification settings - Fork 502
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I think after recent changes (#3511) with jetpack, the jetpack is not removed if we first call
setPedWearingJetpack(plr, false) and then setElementPosition(..).
Steps to reproduce
addCommandHandler("jetpack-add", function (plr)
setPedWearingJetpack(plr, true)
end)
addCommandHandler("moveme", function (plr)
setPedWearingJetpack(plr, false)
setElementPosition(plr, 0, 0, 10)
outputDebugString(tostring(isPedWearingJetpack(plr)))
end)
- Use
/jetpack-add - Use
/moveme - Player will still have jetpack, even though the debug output will show "false".
Version
Client: Multi Theft Auto v1.6-release-23079
Server: MTA:SA Server v1.6-release-23069
Additional context
After recent client update, all scripts where we are taking player jetpack and teleporting them were not functioning correctly because of this change.
Relevant log output
INFO: falseSecurity Policy
- I have read and understood the Security Policy and this issue is not security related.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
