Jump to content

Davey

Members
  • Posts

    19
  • Joined

  • Last visited

About Davey

  • Birthday 07/10/1996

Details

  • Gang
    vice city news

Davey's Achievements

Square

Square (6/54)

0

Reputation

  1. Davey

    sound script

    function onSoundEvent ( ) playSoundFrontEnd ( 33 ) end addCommandHandler("moersleutel", onSoundEvent)
  2. Davey

    sound script

    "Davey" type="script" name="MoerSleutelGeluidje" /> "script.lua" type="client" />
  3. Davey

    sound script

    Hello, my script a sound script wont work when i start the server it says cant parse meta someone can help me out?
  4. "Davey" type="script" name="engine" /> "help.xml" type="client"/> this is one "Davey" type="script" name="Engine" /> "help.xml" type="client"/> client="1.3.1" server="1.3.1" /> false and this is 2 both of them dont dont work function turnEngineOff ( theVehicle, leftSeat, jackerPlayer ) if leftSeat == 0 and not jackerPlayer then setVehicleEngineState ( theVehicle, false ) end end -- add 'turnEngineOff' as a handler for "onPlayerExitVehicle" addEventHandler ( "onPlayerVehicleExit", getRootElement ( ), turnEngineOff ) this is the script lua function toggleEngine(source) local vehicle = getPedOccupiedVehicle(source) if vehicle then if getVehicleEngineState(vehicle) then setVehicleEngineState(vehicle, false) else setVehicleEngineState(vehicle, true) end end end addCommandHandler( "engine", toggleEngine ) and this is the command handler i dont know whats wrong can someone tell me? i made 2 meta's because i dont know which works i tried both of them but not working
  5. and now the problem i think i need a command lua or something like if i type /engine the engine will stop or start that the target of my script and the script is 2 files meta.xml engine.lua do i miss something?
  6. -- add 'turnEngineOff' as a handler for "onPlayerExitVehicle" oh, and yes i forgotten this last line to delete or i suposed to place back the other lines or is this only a example line?
  7. "Davey" type="script" name="Engine" /> "meta.xml" type="client"/> client="1.3.1" server="1.3.1" /> false is this good its the meta, function turnEngineOff ( theVehicle, leftSeat, jackerPlayer ) if leftSeat == 0 and not jackerPlayer then setVehicleEngineState ( theVehicle, false ) end end -- add 'turnEngineOff' as a handler for "onPlayerExitVehicle" addEventHandler ( "onPlayerVehicleExit", getRootElement ( ), turnEngineOff ) and this is the lua, i think i forgotten the bind or command lua,
  8. function turnEngineOff ( theVehicle, leftSeat, jackerPlayer ) if leftSeat == 0 and not jackerPlayer then setVehicleEngineState ( theVehicle, false ) end end -- add 'turnEngineOff' as a handler for "onPlayerExitVehicle" addEventHandler ( "onPlayerVehicleExit", getRootElement ( ), turnEngineOff ) and is this good too ? i think is doesn't because i forgotten the bind or command lua or something other can someone help ? It's an script that starts and stop the vehicle engine.
  9. "Davey" type="script" name="Engine" /> "meta.xml" type="client"/> client="1.3.1" server="1.3.1" /> false is this good?
  10. [img ]http://img204.imageshack.us/img204/3193/imag0202e.jpg[/img]
  11. [img ]http://img204.imageshack.us/img204/3193/imag0202e.jpg[/img]
  12. goto san fierro (dock can find me in n boat in {DKR} server
  13. kun het makelijker uitlegen dan aleen maar %20
×
×
  • Create New...