Jump to content

#RooTs

Members
  • Posts

    1,990
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by #RooTs

  1. #RooTs

    playSound

    the file (http://k003.kiwi6.com/hotlink/oedo7jzq7z/music.mp3) not exists
  2. try this Server side: function interCity(thePlayer) local train = createVehicle(538,-1948.413, -0.929, 25.711) warpPedIntoVehicle(thePlayer, train) setVehicleRotation ( train, 0, 0, 270 ) end addEventHandler("onResourceStart",resourceRoot,interCity)
  3. otherwise, it worked?
  4. my example is in server side
  5. Look the example "warpPedIntoVehicle " in WIKI mta function setupForRace ( ) local RacerPed = createPed ( 252, 0, 0, 3 ) local RaceVehicle = createVehicle ( 411, 4, 0, 3 ) -- create a vehicle. warpPedIntoVehicle ( RacerPed, RaceVehicle ) -- warp the ped straight into the vehicle end addCommandHandler ( "startrace", setupForRace )
  6. try this maybe server.lua function interCity(thePlayer) local train = createVehicle(538,-1948.413, -0.929, 25.711) warpPedIntoVehicle(thePlayer, train) end addEventHandler("onResourceStart",resourceRoot,interCity)
  7. #RooTs

    Help!

    It is missing more thing in mtaconfig
  8. #RooTs

    Script help.

    enter contact him to update his MGM
  9. #RooTs

    First person

    This subject is useful to me. You, may try to do, for us?
  10. #RooTs

    ammo limit

    you can make a demo video for me to see?, it may be useful to me.
  11. Olá pessoal, queria saber se tem como zerar uma Handling, vou explicar. aquelas Handling's desagradáveis que, quando você está parado em um lugar e de repente chega um cara e te joga pra bem longe. quero saber se tem como setar uma Handling com o valor 0 ao entrar na área verde. pelomenos algum exemplo já me ajuda esse é uma parte do meu código addEventHandler ("onColShapeHit", getRootElement(), function(hitElement, matchingDimension) if (getElementType (hitElement) == "player") and (getElementID (source) == "greenzoneColshape") then outputChatBox ("", hitElement, 255, 0, 0, true) toggleControl (hitElement, "fire", false) toggleControl (hitElement, "next_weapon", false) toggleControl (hitElement, "previous_weapon", false) toggleControl (hitElement, "sprint", true) toggleControl (hitElement, "aim_weapon", false) toggleControl (hitElement, "vehicle_fire", false) showPlayerHudComponent (hitElement, "ammo", false) showPlayerHudComponent (hitElement, "weapon", false) triggerClientEvent (hitElement, "enableGodMode", hitElement) end if (source == moneyZoneCol) and (getElementType (hitElement) == "vehicle") then setElementVelocity (hitElement, 0, 0, 0) setElementPosition (hitElement, 2018.33, 1534.77, 12.37) setVehicleRotation (hitElement, 0,0,270) if (getVehicleOccupant (hitElement, 0)) then outputChatBox ("", getVehicleOccupant (hitElement, 0), 255, 0, 0, false) end end end) addEventHandler ("onColShapeLeave", getRootElement(), function(leaveElement, matchingDimension) if (getElementType (leaveElement) == "player") and (getElementID (source) == "greenzoneColshape") then outputChatBox ("", leaveElement, 255, 0, 0, false) toggleControl (leaveElement, "fire", true) toggleControl (leaveElement, "next_weapon", true) toggleControl (leaveElement, "previous_weapon", true) toggleControl (leaveElement, "sprint", true) toggleControl (leaveElement, "aim_weapon", true) toggleControl (leaveElement, "vehicle_fire", true) showPlayerHudComponent (leaveElement, "ammo", false) showPlayerHudComponent (leaveElement, "weapon", false) triggerClientEvent (leaveElement, "disableGodMode", leaveElement) end end)
  12. Yes, It will depend on the capacity of your machine. weak = lag medium = maybe lag strong = no lag
  13. #RooTs

    [help]Bounce

    You Speak Portuguese ?
  14. #RooTs

    ammo limit

    Look my video demo in ammo pass video in 2:13 Min is that what you're trying to do?. and then I pass my script for you
  15. #RooTs

    DX Help.

    you are welcome
×
×
  • Create New...