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

  #1616  
Старый 25.01.2024, 22:15
vaguiners
Новичок
Регистрация: 08.11.2016
Сообщений: 12
С нами: 5005812

Репутация: 53
По умолчанию

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

you forgot to install the necessary buttons and most importantly - motionspeed https://www.blast.hk/threads/13380/post-346619
Thank you. With buttons and speed, i got something close to more "human".

However, there is a new problem. I cant change the bot rotation.

Lua:





[CODE]
function
sampev
.
onSendPlayerSync
(
data
)
data
.
animationId
=
1130
data
.
upDownKeys
=
65408
data
.
moveSpeed
.
x
=
0.1
data
.
moveSpeed
.
z
=
0
end
function
sampev
.
onSetPlayerPos
(
position
)
if
position
.
x
>=
-
115
and
position
.
x
=
-
25
and
position
.
y
=
3.0
and
position
.
z



setBotRotation is not working
 
Ответить с цитированием