We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ae32f1 commit 1f9e0a3Copy full SHA for 1f9e0a3
fxmanifest.lua
@@ -4,7 +4,7 @@ games { 'gta5' }
4
author 'Musiker15 - MSK Scripts'
5
name 'msk_core'
6
description 'Functions for MSK Scripts'
7
-version '2.4.8'
+version '2.4.9'
8
9
lua54 'yes'
10
server/functions/bansystem.lua
@@ -86,12 +86,9 @@ local formatTime = function(time)
86
return banTime, os.date('%d-%m-%Y %H:%M', banTime)
87
end
88
89
-RegisterCommand('isBanned', function(source, args)
90
- local isBanned, expired = MSK.IsPlayerBanned(source)
91
- print('isBanned', isBanned, expired)
92
-end)
93
-
94
local IsTokenMatching = function(token, tokens)
+ if not tokens then return false end
+
95
for i = 0, #tokens do
96
if tokens[i] == token then
97
return true
0 commit comments