Hi all, so to some this might seem silly that i am asking this but end of the day the lua programming scene in beamng was new to me and i am still learning so dont hate just yet. (when i start making really silly mistakes feel free though!) So im trying to issue vehicle commands E.g. setting the throttle value for a vehicle. Now what i have at the moment is this: however i am presented with this issue in console: to make things easier for some of you, what this is saying is: ```attempt to index a nil value``` Now i know that the variable command is not nil due to me printing it above the crash, and i also know that key and value arent either due to them setting values in the command variable. So the question is how does the queueLuaCommand bit work and where am i going wrong. The i variable is the number from a for loop before this is triggered, the i value is the player vehicle. Any help much appreciated. If anyone wants to see the full code you can get it here: https://github.com/Starystars67/Bea...a/ge/extensions/freeroam/multiplayer.lua#L106 --- Post updated --- It needs to be done like this: