You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicstaticasyncTask<VehicleEntity>CreateAsync(PlusVehicleplusVehicle){varvehicle=(VehicleEntity)awaitAltAsync.CreateVehicle(plusVehicle.Info.Model,(Vector3)plusVehicle.Position,plusVehicle.Rotation);if(vehicleis not {Exists:true})returnnull;awaitvehicle.LoadAsync(plusVehicle);returnvehicle;}
In v14 the vehicle gets created properly, in dev224 of v15 the server stops at AltAsync.CreateVehicle forever. The error only appears if we try to create the vehicles in the constructor of a class with the IScript interface implemented.
The text was updated successfully, but these errors were encountered:
We use the following code to create a vehicle:
In v14 the vehicle gets created properly, in dev224 of v15 the server stops at
AltAsync.CreateVehicle
forever. The error only appears if we try to create the vehicles in the constructor of a class with theIScript
interface implemented.The text was updated successfully, but these errors were encountered: