mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-01-24 18:32:53 +08:00
remove useless prints
This commit is contained in:
parent
6d8bf9642b
commit
da7bcd01f4
@ -160,9 +160,6 @@ AddEventHandler('playernames:configure', function(id, key, ...)
|
|||||||
elseif key == 'rnme' then
|
elseif key == 'rnme' then
|
||||||
getSettings(id).rename = true
|
getSettings(id).rename = true
|
||||||
elseif key == 'name' then
|
elseif key == 'name' then
|
||||||
print(id, 'id')
|
|
||||||
print(getSettings(id))
|
|
||||||
|
|
||||||
getSettings(id).serverName = args[1]
|
getSettings(id).serverName = args[1]
|
||||||
getSettings(id).rename = true
|
getSettings(id).rename = true
|
||||||
elseif key == 'tpl' then
|
elseif key == 'tpl' then
|
||||||
@ -175,8 +172,6 @@ AddEventHandler('playernames:configure', function(id, key, ...)
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
AddEventHandler('playernames:extendContext', function(i, cb)
|
AddEventHandler('playernames:extendContext', function(i, cb)
|
||||||
print(getSettings(GetPlayerServerId(i)))
|
|
||||||
|
|
||||||
cb('serverName', getSettings(GetPlayerServerId(i)).serverName)
|
cb('serverName', getSettings(GetPlayerServerId(i)).serverName)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user