..:D&G:.. Posted June 6, 2013 Posted June 6, 2013 I get soo many errors that lag my server and spam my console if canPopulate then -- create a new vehicle as we didn't have one before local vehicle = createVehicle( data.model, unpack( v ) ) --[[Like 61]] setTimer(setElementFrozen, 1500, 999999999, vehicle, true) MTA:Rust Pre-Alpha Build v.0.3: https://forum.mtasa.com/viewtopic.php?f=114&t=97848 2Pac: ''Only God can judge me!''
DNL291 Posted June 6, 2013 Posted June 6, 2013 'vehicle' should be returning nil. Please do not PM me with scripting related question nor support, use the forums instead.
xXMADEXx Posted June 6, 2013 Posted June 6, 2013 vehicle = createVehicle( data.model, unpack( v ) ) setTimer( function ( ) setElementFrozen ( vehicle, true ) end, 15000, 0) The Ultimate Lua Tutorial! | MTA PHP SDK
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