- 82
- 13
Lua:
sampRegisterChatCommand('re', function(id)
lua_thread.create(function ()
sampSendChat('/re ' .. id)
local name = sampGetPlayerNickname(id)
wait(1001)
sampSendChat('/a Начинаю слежку за игроком: ' .. name .. '[' .. id .. ']')
end)
end)
sampRegisterChatCommand('reoff', function(id)
lua_thread.create(function ()
sampSendChat('/reoff ')
wait(1001)
sampSendChat('/a Прекратил слежку за игроком: ' .. name .. '[' .. id .. ']')
end)
end)