dsc.gg/solar-tech
Продавец
-
Автор темы
- #1
Функция за 500 долларов
Stay solar.tech
Код:
local function gamesense_print(…)
print_dev(…)
print_raw('\a9FCA2B[gamesense] \aDEFAULT' .. …)
end
local button = ui.create('General', '500$ function'):button('Steal Player Name')
button:set_callback(function()
if not globals.is_connected then
gamesense_print('You must be connected on server!')
else
local random_player = entity.get(utils.random_int(1, globals.max_players), false)
common.set_name(random_player:get_name() .. ' ')
end
end)