
25.01.2024, 22:15
|
|
Новичок
Регистрация: 08.11.2016
Сообщений: 12
С нами:
5005812
Репутация:
53
|
|
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
|
|
|