23.02.2015, 18:38
Hi there,
I don't release stuff that often because it's either not finished, or I don't find it release-ready, and I've got quite a bunch of unreleased projects which are unfinished.
However, I decided to finish this little script as it didn't take that much effort and I personally like it
What is this?
Basically it's this vehicle with 2 miniguns attached onto it on the front.
Let me give you some pictures.


You can shoot with it by pressing LMB(Left Mouse Button), it damages any player/(un)occupied vehicle within a certain range infront of the vehicle.
Made a bunch of defines so you guys can play around with it abit and see if you can find a better accuracy than I have in this script.
There's 1 command, /hotrod, which simply spawns a hotrod and puts you inside it, all hotrods are destroyed on filterscript exit.
You can also remotely create a hotrod from your gamemode or from any script, aslong as this script is loaded, with the following code:
Download
Pastebin
Solidfiles
My dropbox
Credits
****** -> foreach
Zeex -> zcmd
Incognito -> streamer
I don't release stuff that often because it's either not finished, or I don't find it release-ready, and I've got quite a bunch of unreleased projects which are unfinished.
However, I decided to finish this little script as it didn't take that much effort and I personally like it

What is this?
Basically it's this vehicle with 2 miniguns attached onto it on the front.
Let me give you some pictures.


You can shoot with it by pressing LMB(Left Mouse Button), it damages any player/(un)occupied vehicle within a certain range infront of the vehicle.
Made a bunch of defines so you guys can play around with it abit and see if you can find a better accuracy than I have in this script.
pawn Код:
#define MAX_VEHICLE_SHOOT_DISTANCE 5.0 // maximum distance a hotrod can shoot another vehicle
#define MAX_PLAYER_SHOOT_DISTANCE 5.0 // maximum distance a hotrod can shoot a player
#define DISTANCE_FROM_VEHICLE 10.0 // distance away from the car infront of the car
#define PLAYER_HEALTH_LOSS 5.0 // amount of health a player loses when someone shoots him with a hotrod
#define OCCUPIED_VEHICLE_HEALTH_LOSS 75.0 // amount of health an occupied vehicle loses when someone shoots it with a hotrod
#define UNOCCUPIED_VEHICLE_HEALTH_LOSS 125.0 // amount of health an unoccupied vehicle loses when someone shoots it with a hotrod
You can also remotely create a hotrod from your gamemode or from any script, aslong as this script is loaded, with the following code:
pawn Код:
CallRemoteFunction( "CreateHotrod", "iffff", playerid, Float:x, Float:y, Float:z, Float:rot );
// CreateHotrod returns the vehicleid of the hotrod
Pastebin
Solidfiles
My dropbox
Credits
****** -> foreach
Zeex -> zcmd
Incognito -> streamer