Jump to content

Tombaa

Members
  • Posts

    6
  • Joined

  • Last visited

Details

  • Gang
    SAES

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Tombaa's Achievements

Vic

Vic (3/54)

0

Reputation

  1. Tombaa

    movable gate

    if you still need help, i can help, you know where to find me
  2. Yes, that one. i have managed to find out the real problem i have. it is that the marker doesnt really attach to the carrier, so it doesnt move when the carrier does...
  3. So how do you know I play in the SAES server Bularax? And I test them on a selfhosted LAN server.
  4. I just noticed, that it actually works, when the carrier is still, but when you move the carrier to somewhere else, than detach and try to attach again, than it wont attach again. If its in the same place as stated in the script, it does work. How to fix it so that it attached everywhere?
  5. The cH is a carrier, that I have attached the marker and the arrow to. The full script is nothing more than creating the carrier objects, and attaching them to each other.
  6. I have been trying to use this script: viewtopic.php?f=91&t=32662&p=344109&hilit=Attach#p344109 But the problem is, that when I once get it to attach, and detach after that, it wont attach to it anymore, before I restart script. function attach ( hitElement ) if ( getElementType( hitElement ) == "vehicle" ) then attachElements ( arrow1, cH, -1417 - hullx, 531 - hully, 18.5 - hullz ) attachElements ( hitElement, arrow1 ) do end end addEventHandler ( "onMarkerHit", theMarker, attach ) function detach ( thePlayer, commandName ) local pVehicle = getPedOccupiedVehicle( thePlayer ) detachElements ( pVehicle ) end addCommandHandler ( "detach", detach ) That is the code, could anyone please tell me, if there is some kind of loop thing or something, which I can use there. Thanks in advance Tombaa
×
×
  • Create New...