Skip to content

Commit

Permalink
refactor: prefer "rear" over "back" for seat names
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGriefs committed Nov 21, 2021
1 parent 62446d3 commit cc15466
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ local GetPlayerIdentifierMethods = {
local names = {
'Driver',
'Passenger',
'Back left passenger',
'Back right passenger',
'Far back left passenger',
'Far back right passenger',
'Rear left passenger',
'Rear right passenger',
'Far rear left passenger',
'Far rear right passenger',
}
for seat = 1, math.min(#names, seats) do
if GetPedInVehicleSeat(vehicle, seat - 2) == playerPed then
Expand Down

0 comments on commit cc15466

Please sign in to comment.