Skip to content

Fixed apartment trigger for RichardMajesticApt2 and converted unused vec4's to vec3 - #52

Merged
ChatDisabled merged 3 commits into
Qbox-project:mainfrom
LordChunk:apartment-exit-triggers
Sep 6, 2025
Merged

Fixed apartment trigger for RichardMajesticApt2 and converted unused vec4's to vec3#52
ChatDisabled merged 3 commits into
Qbox-project:mainfrom
LordChunk:apartment-exit-triggers

Conversation

@LordChunk

@LordChunk LordChunk commented Feb 16, 2025

Copy link
Copy Markdown
Contributor

Description

Fixed apartment trigger for RichardMajesticApt2 and converted unused vec4's to vec3

Checklist

  • I have personally loaded this code into an updated Qbox project and checked all of its functionality.
  • My pull request fits the contribution guidelines & code conventions.

@ChatDisabled

Copy link
Copy Markdown
Member

it is a vec4 because we also set the player's heading

if interactData[i].type == 'exit' then
SetEntityCoords(GetPlayerPed(playerSource), coords.x, coords.y, coords.z, false, false, false, false)
SetEntityHeading(GetPlayerPed(playerSource), coords.w)
end

@ChatDisabled
ChatDisabled merged commit bcfdbe9 into Qbox-project:main Sep 6, 2025
2 checks passed
@LordChunk
LordChunk deleted the apartment-exit-triggers branch September 7, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants