The “Drive and shoot” script, when you press the “H” key, will create a car that will go forward, then its rear doors will open, and the ped will begin to fire at you.
First install LuaLoader. To do this, follow the link: https://github.com/egor230/lualoader Next, download plugin.VC and place it in the root of the game, and place drive and shoot.lua and mod.lua in the lualoader folder, which you need to create in the root folder of the game.
setpedcrouch(ped, true, 999999) -- crouched.
If for some reason the script does not work, the error will be written to the log located in the lualoader folder.