3/21/2024 0 Comments Scripthookvdotnet2![]() ![]() There is so much powerful stuff to play with. Vehicle vehicle = World.CreateVehicle(VehicleHash.Zentorno, + * 3.0f, + 90) Private void OnKeyUp(object sender, KeyEventArgs e) Private void OnKeyDown(object sender, KeyEventArgs e) Private void OnTick(object sender, EventArgs e) Note: This script is using the SHVDN v3 API. Code Exampleīelow you can find a basic example mod that creates a vehicle in front of the own character with a 90° heading to the character when pressing Numpad1. You may also want to set up a post build event in Visual Studio to copy the compiled DLL to your scripts folder automatically. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |