HoLsTeN Posted September 2, 2011 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
HoLsTeN Posted September 2, 2011 Author Posted September 2, 2011 i dont need to give you the code if you cant help with out the code dont post here
BinSlayer1 Posted September 2, 2011 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
CapY Posted September 2, 2011 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.
HoLsTeN Posted September 2, 2011 Author 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)
CapY Posted September 2, 2011 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)
HoLsTeN Posted September 2, 2011 Author 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
Static-X Posted September 2, 2011 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)
BinSlayer1 Posted September 2, 2011 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
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