Jump to content

pejczi

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by pejczi

  1. What does it output to the chatbox? Just wanted to check if script works , that's why I added it.
  2. Still doesn't work @Solidsnake14.
  3. Ok, I changed event, what about it ? function moveVehicle ( ) outputChatBox ( "First part", getRootElement(), 255, 0, 0, true ) local vehicle = getPedOccupiedVehicle ( source ) local x,y,z = getElementPosition( source ) outputChatBox ( "vehicle: " ..tostring ( source ) ) if ( vehicle ) then setElementPosition ( vehicle, x,y,z-100 ) end end addEventHandler ( "onPlayerWasted" , getRootElement() , moveVehicle ) It still ain't work.
  4. Hello, Recently, I've decided to write script which repairs one bug on DD maps. As somebody from u guys know, when u prees enter , gamemode marks u as "dead" - it puts something like shadow with burn on the middle. Same thing is when u get blown. The problem is how gamemode marks u as dead? What event it uses? function moveVehicle ( ) outputChatBox ( "First part", getRootElement(), 255, 0, 0, true ) local vehicle = getPedOccupiedVehicle ( source ) local x,y,z = getElementPosition( source ) outputChatBox ( "vehicle: " ..tostring ( source ) ) if ( vehicle ) then setElementPosition ( vehicle, x,y,z-100 ) end end addEventHandler ( "onPlayerWasted" , getRootElement() , moveVehicle ) Ok i changed something. Any ideas?
×
×
  • Create New...