mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
fix names with color codes coloring the whole console.
This commit is contained in:
@@ -20,7 +20,7 @@ end)
|
|||||||
AddEventHandler('playerConnecting', function(name, setReason)
|
AddEventHandler('playerConnecting', function(name, setReason)
|
||||||
local cv = GetConvarInt('sv_maxclients', 32)
|
local cv = GetConvarInt('sv_maxclients', 32)
|
||||||
|
|
||||||
print('Connecting: ' .. name)
|
print('Connecting: ' .. name .. '^7')
|
||||||
|
|
||||||
if playerCount >= cv then
|
if playerCount >= cv then
|
||||||
print('Full. :(')
|
print('Full. :(')
|
||||||
|
|||||||
Reference in New Issue
Block a user