HoLsTeN Posted September 2, 2011 Share Posted September 2, 2011 hi all the function setVehicleIdleRespawnDelay doesn't work i added toggleVehicleRespawn but nothing happened also i downloaded already script in the community and i tested it but nothing happen the server is 1.1 Link to comment
CapY Posted September 2, 2011 Share Posted September 2, 2011 Post script and then we can help you . Link to comment
HoLsTeN Posted September 2, 2011 Author Share Posted September 2, 2011 i dont need to give you the code if you cant help with out the code dont post here Link to comment
BinSlayer1 Posted September 2, 2011 Share Posted September 2, 2011 you can't get help without posting the code we need to see if you're using the function correctly and that your parameters are valid anyway, try debugging it yourself add outputDebugString() after every step you make with tostring(boolean) to show if functions were executed or failed Link to comment
CapY Posted September 2, 2011 Share Posted September 2, 2011 i dont need to give you the code if you cant help with out the code dont post here Holsten dont post here without the code. Link to comment
HoLsTeN Posted September 2, 2011 Author Share Posted September 2, 2011 v = createVehicle(500, 0, 0, 0) toggleVehicleRespawn(v, true) vx, vy, vz = getElementPosition(v) setVehicleRespawnPosition(v, vx, vy, vz) setVehicleIdleRespawnDelay(v, 5000) Link to comment
CapY Posted September 2, 2011 Share Posted September 2, 2011 Tell us the errors which you got in debugscript 3. v = createVehicle(500, 0, 0, 0) toggleVehicleRespawn(v, true) vx, vy, vz = getElementPosition(v) setVehicleRespawnPosition(v, vx, vy, vz) setVehicleIdleRespawnDelay(v, 5000) bindKey ("yourkey", "down", v) I dont have idea will that work ( not tested) Link to comment
HoLsTeN Posted September 2, 2011 Author Share Posted September 2, 2011 no eror in debugscript 3 I dont need Bindkey i say the code setVehicleIdleRespawnDelay it is not work i dont know why i think the proplime from wiki not from me and i find this script in the community same proplime https://community.multitheftauto.com/index.php?p=resources&s=details&id=699 Link to comment
Static-X Posted September 2, 2011 Share Posted September 2, 2011 PS: It works, if there is no player in range of it, try v = createVehicle(500, 0, 0, 0) setVehicleIdleRespawnDelay(v, 5000) toggleVehicleRespawn(v, true) Link to comment
BinSlayer1 Posted September 2, 2011 Share Posted September 2, 2011 Holsten your code probably works, although you do not see the vehicle because 0,0,0 are underground coordinates change it to 0,0,4 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