Posts: 3
Threads: 1
Joined: Aug 2008
Reputation:
0
could someone make me a small script for pawno so when you touch another car with your car your car explodes or you die
Posts: 11
Threads: 0
Joined: Jun 2008
Reputation:
0
can you post that in script request please?
Posts: 717
Threads: 11
Joined: Jul 2008
Reputation:
0
Not possible, even tho you could check the damage of the vehicle it could crash with everything, you can check the pos from a car and check if the car is near the next car and its still not possible because you could just park next to him or anything, so my opinion is, forget it, dunno if someone thinks he can do it tho. Anyways good luck and as above already said, post it in the script request section.
Cheers
Extremo
Posts: 3
Threads: 1
Joined: Aug 2008
Reputation:
0
but could I increase the damage level when the car hits another car? to 50%?
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
no, you cannot detect that.
what you CAN do is:
run a timer each &amount of time.
check if the vehicle health has dropped
set the vehicle to a burning or something health
NOTE: you cannot detect carhits
Posts: 181
Threads: 10
Joined: Nov 2008
Reputation:
0
afcourse you can, but it can require loads of computer efforts
you can save vehicle health into variables
then, make a variable that holds if its damaged
i will give a hint, use onplayerupdate, you can also detect if someone attacked someone else ^_^