Skip to content

Commit a3cc410

Browse files
committed
Update v2.0.2
1 parent cd7535d commit a3cc410

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

fxmanifest.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ games { 'gta5' }
44
author 'Musiker15 - MSK Scripts'
55
name 'msk_whitelist'
66
description 'Ingame Whitelist'
7-
version '2.0.1'
7+
version '2.0.2'
88

99
lua54 'yes'
1010

server/main.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ RegisterCommand(Config.Commands.admin_inside, function(source, args, rawCommand)
187187
if not args[1] then args[1] = src end
188188
local xTarget = ESX.GetPlayerFromId(args[1])
189189

190-
if Config.Locations.admin_outside:match('last_position') then
190+
if Config.Locations.admin_outside == 'last_position' then
191191
LastPosition[xTarget.source] = xTarget.getCoords(true)
192192
end
193193

@@ -208,7 +208,7 @@ RegisterCommand(Config.Commands.admin_outside, function(source, args, rawCommand
208208
if not args[1] then args[1] = src end
209209
local xTarget = ESX.GetPlayerFromId(args[1])
210210

211-
if Config.Locations.admin_outside:match('last_position') then
211+
if Config.Locations.admin_outside == 'last_position' then
212212
TriggerClientEvent('msk_whitelist:einreise', xTarget.source, LastPosition[xTarget.source])
213213
LastPosition[xTarget.source] = nil
214214
else

0 commit comments

Comments
 (0)