Community Forum

getLastSpeed

Forum Overview >> Scripting

CategoryScripting
Created22.01.2024 21:51


Cj Murray (cj0707) 22.01.2024 21:51
Error: Running LUA method 'loadSharedI3DFileAsyncFinished'.
dataS/scripts/vehicles/specializations/Drivable.lua:1007: attempt to call method 'getLastSpeed' (a table value)

I'm trying to make a script that resets vehicles back to shop once they get over a certain speed and every time I try to call this function that's the error I get back and game stops loading at 85%. I've managed to get the game to load with it inside another IF but that creates a block of errors that removes all the wheels from the game. Can post script in a reply but it seems characters are limited here.


Note: Log in to post. Create a new account here.