Jump to content

draobrehtom

Members
  • Content Count

    98
  • Joined

  • Last visited

Community Reputation

3 Neutral

About draobrehtom

  • Rank
    Punk-@ss B*tch
  • Birthday 02/01/1996

Details

  • Location
    Katowice, Polland
  • Interests
    open-source, poetry, tobacco, cyberpank, neuroscience

Recent Profile Visitors

1,063 profile views
  1. @Simple01 you can switch forum theme at the bottom forum, near the block Contact Us.
  2. for _, vehicle in ipairs ( getElementsByType ( "vehicle" ) ) do -- For every vehicle do the following... if isEmpty( vehicle ) then -- Getting standart handlings local tempVehicle = createVehicle(getElementModel(vehicle), 0, 0, -3) local tempHandling = getVehicleHandling(tempVehicle) for prop,value in pairs(tempHandling) do setVehicleHandling(vehicle, prop, value) end destroyElement(tempVehicle) resetVehicleIdleTime ( vehicle ) -- Reset the vehicle's id
  3. Use /debugscript 3 to find errors and test your code. I gave you right algorithm, maybe problem in indexing tempHandling table - I not test it. for prop,value in pairs(tempHanding) do setVehicleHandling(vehicle, prop, value) end
  4. for _, vehicle in ipairs ( getElementsByType ( "vehicle" ) ) do -- For every vehicle do the following... if isEmpty( vehicle ) then -- Getting standart handlings local tempVehicle = createVehicle(getElementModel(vehicle), 0, 0, -3) local tempHandling = getVehicleHandling(tempVehicle) for _, property in ipairs(tempHanding) do setVehicleHandling(vehicle, property, tempHandling[property]) end destroyElement(tempVehicle) resetVehicleIdleTime ( vehicle ) --
  5. Hi guys. One year ago I was start developing "Police radio hotkey system" based on original police radio sound from gta. In GTA:SA it's based on parts of different sound packs, relative to player situation (state). Now, I will found my resource and don't want do develop it (have no time), but You can. Usage. For example, I ride on black Bravura vehicle form East Los Santos and shoot to people - POLICE RADIO: "37 in" + "dark" + "four door" + " + "suspect last seen" + "east Los Santos". And so on. As you understood, you can use this sound to make custom radio message for other cops on yo
  6. duplicate. please remove this topic
  7. And you can get position of the dummy's light. It's will be more easy to get custom coordinates for every vehicle. getVehicleComponentPosition taillights2headlights2 taillightsheadlights
  8. Чувак, гугл или поиск в папке гта используй. И в следующий раз используй содержательное название для темы. "Помогите!!!" - никуда не годится.
  9. Or replace your corrupted file http://www.mediafire.com/download/0ye28f02395gj80/timecyc.dat
  10. http://www.mediafire.com/download/0ye28f02395gj80/timecyc.dat Замени неисправный файл.
  11. Thank's for the helping answer (misc elements). I was did that by this way: local mis_x, mis_y, mis_z = getVehicleComponentPosition(occupiedVehicle, "misc_c", "world") local miss_x, miss_y, miss_z = getVehicleComponentPosition(occupiedVehicle, "misc_b", "world") mis_x,mis_y,mis_z = mis_x - miss_x, mis_y - miss_y, mis_z - miss_z local matrix = getElementMatrix(occupiedVehicle) x = 0 * matrix[1][1] + 0 * matrix[2][1] + 4 * matrix[3][1] + 1 * matrix[4][1] y = 0 * matrix[1][2] + 0 * matrix[2][2] + 4 * matrix[3][2] + 1 * matrix[4][2] z = 0 * matrix[1][3] + 0 * matrix[2][3] +
  12. "velocity" in projectile it is a vector direction flying of rocket and I need this direction from turret direction. I think it work's in such way (projectile).
  13. Ok, and which will be "up/down" in my vector velocity createprojectile, uh?
×
×
  • Create New...