PlayAkoya Posted June 10, 2015 Share Posted June 10, 2015 Hi, I'm from Germany and i have a Problem with my Script. I'd like to open the luggage compartment or trunk of the Andromeda! Vehicle Name: Andromeda Vehicle ID: 592 -- Server side getPlanWS = createVehicle(592, -1594.900390625, -2752.2001953125, 49.599998474121, 0, 0, 54.99755859375) setElementFrozen(getPlanWS, true) setVehicleDamageProof(getPlanWS, true) setTimer(setVehicleLandingGearDown, 50, 1, getPlanWS, true) setTimer(setVehicleDoorOpenRatio, 100, 1, getPlanWS, 1, 1) I hope someone has a solution for my problem and know how can I get it open. Link to comment
Pipee20k Posted June 11, 2015 Share Posted June 11, 2015 getPlanWS = createVehicle(592, -1594.900390625, -2752.2001953125, 49.599998474121, 0, 0, 54.99755859375) setElementFrozen(getPlanWS, true) setVehicleDamageProof(getPlanWS, true) setTimer(function () setVehicleLandingGearDown (getPlanWS, true) end, 50, 1) setTimer(function () setVehicleDoorOpenRatio (..arguments..) end, 100, 1) Read this: https://wiki.multitheftauto.com/wiki/Se ... rOpenRatio Link to comment
3B00DG4MER Posted June 11, 2015 Share Posted June 11, 2015 (edited) the arguments in a function with setTimer arguments comes after arguments of setTimer,it's u've to write only function and arguments in end it's the same Edited June 12, 2015 by Guest Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now