я писал и так
local money = LocalPlayer():GetConVar( 'money' )
и так
local money = LocalPlayer():getDarkRPVar( 'money' )
но всеравно дает ошибки
[hud] addons/hud/lua/autorun/client/hud.lua:80: attempt to call method 'getDarkRPVar' (a nil value)
1. fn - addons/hud/lua/autorun/client/hud.lua:80
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109 (x837)
[hud] addons/hud/lua/autorun/client/hud.lua:80: attempt to call method 'GetConVar' (a nil value)
1. fn - addons/hud/lua/autorun/client/hud.lua:80
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109 (x4121)
local money = LocalPlayer():GetConVar( 'money' )
и так
local money = LocalPlayer():getDarkRPVar( 'money' )
но всеравно дает ошибки
[hud] addons/hud/lua/autorun/client/hud.lua:80: attempt to call method 'getDarkRPVar' (a nil value)
1. fn - addons/hud/lua/autorun/client/hud.lua:80
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109 (x837)
[hud] addons/hud/lua/autorun/client/hud.lua:80: attempt to call method 'GetConVar' (a nil value)
1. fn - addons/hud/lua/autorun/client/hud.lua:80
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109 (x4121)