Тема: RakSAMP Lite
Показать сообщение отдельно

  #1027  
Старый 02.07.2023, 16:02
Hatiko
Познавший АНТИЧАТ
Регистрация: 11.07.2017
Сообщений: 1,534
С нами: 4653656

Репутация: 183


По умолчанию

Цитата:
Сообщение от rydil0ng  

Hello everyone, is there any script or lua so that the character does not starve or thirst on roleplay servers? Thank you
The simplest example. The command is executed once at the specified time. This works if there is a team that replenishes satiety.

Lua:





Код:
require
(
"addon"
)
newTask
(
function
(
)
while
true
do
wait
(
3600000
)
sendInput
(
"/cmd"
)
end
end
)
 
Ответить с цитированием