Posts: 261
Threads: 93
Joined: Aug 2011
Reputation:
0
in default samp funcions ther is'nt some funcion like this
Posts: 5
Threads: 1
Joined: Jan 2013
Reputation:
0
I heard theres a plugin or something.. Well if theres no function, can somebody could help me of making something like this?
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
He doesn't mean to attach an object to a vehicle, but check if it hits the vehicle etc. And no, there isn't such a function as far as I know.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Well, I'm not sure if it's possible to check something like this. But have a look on the 'Usefull Functions' thread.
Well, when a vehicle hits an object, it takes damage, it takes more when the vehicle is moving faster, so what you can do is, constantly check the vehicles damage and store it in a variable, and if the constant check notices a decrease on the vehicles health, it does what you want it to do.
Its a theory from the top of my head.