local active = false
require 'lib.moonloader'
function main()
while not isSampAvailable() do wait(100) end
sampAddChatMessage('{7EA51B}[sheerlee]: {FFFFFF}Загружён! {7EA51B}Используй: {FFFFFF}/shr.', -1)
sampRegisterChatCommand('shr', shr)
end
function shr()
act = not act
sampAddChatMessage('{7EA51B}[sheerlee]: {FFFFFF}Солнце светит, негры пашут, вот такая доля наша.'..(activated and '{FFFFFF}Эй хозяин, мне бы на волю.'), -1)
charPosX, charPosY, charPosZ = getCharCoordinates(playerPed)
wait(500)
setCharCoordinates(playerPed, 2024.671875, -1958.2646484375, 14.398881912231)
wait(500)
setCharCoordinates(playerPed, 2012.2009277344, -1989.3841552734, 13.546872138977)
while true do
wait(100)
if active then
--[[charPosX, charPosY, charPosZ = getCharCoordinates(playerPed)
wait(500)
setCharCoordinates(playerPed, 2024.671875, -1958.2646484375, 14.398881912231)
wait(500)
setCharCoordinates(playerPed, 2012.2009277344, -1989.3841552734, 13.546872138977)]]
end
end
end