Jump to content

lcd12321

Members
  • Posts

    61
  • Joined

  • Last visited

Everything posted by lcd12321

  1. I know it, just say how get bumper coordinates.
  2. it always returns -1 -1.7 0 even vehicle stays on coords 500 500 4
  3. lcd12321

    Help us out

    use event onclientrender
  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
  5. getElementPosition? Вроде понятно написал. Эта функция возвращает координаты машины, а мне нужна, которая возвращала бы координаты "переда" машины, т.е. там где находятся фары ( примерно ).
  6. А по точней есть ли такая функция или нет?
  7. Как получить координаты переда машины
  8. topic can be close https://forum.multitheftauto.com/viewtopic.php?f=91&t=56515
  9. because u offer use degrees for coordinates
  10. maybe this value[2] replace value
  11. 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?
  12. Поставь перед собой задачу и попробуй ее сделать
  13. if i add group and then restart server writes server triggered clientside event updateInventoryGroups, but event is not added clientside
  14. Как сделать, чтобы после первой анимации плавно шла вторая?
  15. if clientside getlocalplayer else see events
  16. 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
  17. try to check whats return createcolsphere
  18. А как получить element например дома Cj? Ты наверное подумал о объектах, которые создаются, а я имел ввиду объекты, которые уже находятся на карте со времен сингл-плеера
  19. А что можно делать со стандартными объектами на карте? ( кроме удаления )
×
×
  • Create New...