• Announcements

    • jhxp

      Forums are online again after a maintenance.   18/03/17

      MTA Forums maintenance is completed, although some automatic time-heavy tasks are still in process and will be finished eventually in background. Expect some features such as Forum Search to not display all results until all processes are finished. Please let us know if you spot a forum feature that worked correctly before the maintenance but does not work anymore now. Thanks. --MTA Team
    • jhxp

      Multi Theft Auto: San Andreas 1.5.4 is out!   21/04/17

      Click the link in the announcement for more details.  

Turbo777

Members
  • Content count

    334
  • Joined

  • Last visited

  • Days Won

    2

Turbo777 last won the day on February 7

Turbo777 had the most liked content!

Community Reputation

43 Good

1 Follower

About Turbo777

  • Rank
    Fool

Details

  • Gang
    DEDSEC
  • Location
    San Fierro

Recent Profile Visitors

3,679 profile views
  1. I want a 3D video player, what play the .mp4, like "playSound3D". how to create this?
  2. Oh, thanks.:o
  3. colShape = createColCuboid( -2061.63379, 1096.16113, 53, 30.0, 25.0, 25.0 ) addEventHandler( "onColShapeHit", colShape, function( hitElement, dimension, thePlayer ) if not ( dimension ) then return false end if( isElement( hitElement) and getElementType( hitElement ) == "player" ) then local accName = getAccountName ( getPlayerAccount ( hitElement ) ) if not( isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) ) then local veh = getPedOccupiedVehicle(thePlayer) if (veh) then setElementPosition(veh, -2052.28589, 1087.36926, 55.71875 ) else setElementPosition(thePlayer, -2052.28589, 1087.36926, 55.71875 ) end outputChatBox("#FFffFFTe ide nem jöhetsz be! Ki lettél rugva a helyről.", thePlayer, 255, 255, 255, true) end end end) what wrong?
  4. I want, if a player go in, the player teleport away automatic, but if a admin go in, do not teleport away. How to create this?
  5. Oh, thanks! Now working fine:D
  6. now i deleted line 3, but same problem
  7. addEventHandler ( "onPlayerVehicleExit", getRootElement(), function(theVehicle, towedBy) local theVehicle = getPedOccupiedVehicle(source) thePlayer = getVehicleController(source) if ( thePlayer ) then destroyElement(trailer) destroyElement(trailer2) destroyElement(trailer3) outputChatBox("#FFffFFElhagytad a mozdonyt. A vagonok törlődtek!", source, r,g,b, true) end end ) now i got this warning: bad argument @ 'getVehicleController' [Expected vehicle at argument 1, got player]
  8. It will also be deleted when a other player exit from other vehicle?
  9. addEventHandler ( "onPlayerVehicleExit", getRootElement(), function() if isPedInVehicle (source) then local theVehicle = getPedOccupiedVehicle(source) if getVehicleType(theVehicle) == "Train" then destroyElement(trailer) destroyElement(trailer2) destroyElement(trailer3) outputChatBox("#0088FF[SuperFun] #FFffFFElhagytad a mozdonyt. A vagonok törlődtek!", source, r,g,b, true) end end end )
  10. i changed to source, but still not working
  11. addEventHandler ( "onPlayerVehicleExit", getRootElement(), function(player) if isPedInVehicle (player) then local theVehicle = getPedOccupiedVehicle(player) if getVehicleType(theVehicle) == "Train" then destroyElement(trailer) destroyElement(trailer2) destroyElement(trailer3) outputChatBox("#FFffFFElhagytad a mozdonyt. A vagonok törlődtek!", player, r,g,b, true) end end end ) Warning: Bad argument @ 'isPedInVehicle' [Expected ped at argument 1, got vehicle] how to fix this?
  12. addCommandHandler("tt", function (player) if isPedInVehicle (player) then local theVehicle = getPedOccupiedVehicle(player) if getVehicleType(theVehicle) == "Train" then trailer = createVehicle ( 570, 0, 0, 4 ) attachTrailerToVehicle ( theVehicle, trailer ) outputChatBox("#FFffFFSikeresen létrehoztál egy vagont!", player, r,g,b, true) else outputChatBox("#FFffFFMozdonyban kell ülnöd ehhez!", player, r,g,b, true) end end end ) addEventHandler ( "onPlayerVehicleExit", getRootElement(), function ( vehicle, seat, jacked, player ) local theVehicle = getPedOccupiedVehicle(player) if isPedInVehicle (player) then if getVehicleType(theVehicle) == "Train" then detachTrailerFromVehicle(theVehicle) end end end ) why not working detach?
  13. i want attach to the train what i drive, but how?
  14. i want add more than one message to the dxjoinquit script, for example: