lcd12321
Members-
Posts
61 -
Joined
-
Last visited
Everything posted by lcd12321
-
is this serverside?
-
I know it, just say how get bumper coordinates.
-
it always returns -1 -1.7 0 even vehicle stays on coords 500 500 4
-
for example i want to get position for bump_rear_dummy on vehicle sultan. Sultan coord 0 0 2.8 rear bumper position -1 -1.7 0 sultan degrees 112
-
Спасибо большое, выручил.
-
getElementPosition? Вроде понятно написал. Эта функция возвращает координаты машины, а мне нужна, которая возвращала бы координаты "переда" машины, т.е. там где находятся фары ( примерно ).
-
А по точней есть ли такая функция или нет?
-
Как получить координаты переда машины
-
topic can be close https://forum.multitheftauto.com/viewtopic.php?f=91&t=56515
-
because u offer use degrees for coordinates
-
no. U can check it yourself
-
maybe this value[2] replace value
-
addCommandHandler ( "chargeacum", function ( thePlayer ) if isPedInVehicle( thePlayer ) then local theVehicle = getPedOccupiedVehicle( thePlayer ) local theDriver = getVehicleController( theVehicle ) if theDriver == thePlayer then local x,y,z = getElementPosition( theVehicle ) outputChatBox( 'x = '..x..' y = '..y..' z = '..z ) local fx,fy,fz = getElementRotation( theVehicle ) outputChatBox( 'fx = '..fx..' fy = '..fy..' fz = '..fz ) local theCuboid = createColCuboid( x, y, z, 5, 1, 1 ) local result = setElementRotation( theCuboid, fx, fy, fz ) outputChatBox( tostring(result) ) end end end ) but result is false. Why?
-
Поставь перед собой задачу и попробуй ее сделать
-
[REL] HeroInventory - Inventory System [Groups + More]
lcd12321 replied to Malicious Hero.'s topic in Resources
if i add group and then restart server writes server triggered clientside event updateInventoryGroups, but event is not added clientside -
Как сделать, чтобы после первой анимации плавно шла вторая?
-
if clientside getlocalplayer else see events
-
if returned userdata it's mean that colsphere created. So maybe u setdevmode after command showcol. Write what console is writing after command showcol 1
-
try to check whats return createcolsphere
-
А как получить element например дома Cj? Ты наверное подумал о объектах, которые создаются, а я имел ввиду объекты, которые уже находятся на карте со времен сингл-плеера
-
Ну например менять угол
-
А что можно делать со стандартными объектами на карте? ( кроме удаления )
