VenomOG Posted December 7, 2019 Share Posted December 7, 2019 So the main goal is a timer to destroy this object hijackStart = createPickup ( x,y,z, 3, 1210 ) destroytimer[hijackStart] = setTimer(function() destroyElement(hijackStart) destroyElement(hijackBlip1) startDelivery() outputMessage("Nobody has delivered the hijack in 15 minutes spawning a new one",255,100,100) end,9000000,1) addEventHandler("onPickupHit",hijackStart,function(hitElement,md) if isTimer(destroytimer[hijackStart]) then killTimer(destroytimer[hijackStart]) end end) in 15 minutes , any other way to approach this? Link to comment
Moderators IIYAMA Posted December 8, 2019 Moderators Share Posted December 8, 2019 On 07/12/2019 at 13:39, VenomOG said: any other way to approach this? There are many. But if there is no issue, why changing the approach? If you want a different approach, it doesn't start with code, but with a concept and questions. How should the data be saved? And how should the data be accessed? Must it be dynamic? Must it be player specific? What are the conditions? What are the possible outcomes? Link to comment
VenomOG Posted December 8, 2019 Author Share Posted December 8, 2019 I got it 3 hours ago, IIYAMA said: There are many. But if there is no issue, why changing the approach? If you want a different approach, it doesn't start with code, but with a concept and questions. How should the data be saved? And how should the data be accessed? Must it be dynamic? Must it be player specific? What are the conditions? What are the possible outcomes? But thanks anyways 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