ID:171783
![]() Aug 9 2004, 2:08 pm
|
|
is there any code that will take 10 health points of the players car when he/she hits another can and when it below 100 health points it sould say come in to the pits and will fix the damage on your can and is there a code to do all that
|
![]() Aug 9 2004, 2:10 pm
|
|
Nope. None whatsoever.
|
WOW THERE SURE IS ONEONEELEVEN!!!111
http://bwicki.byond.com/ByondBwicki.dmb?TheCode |
I beleive you can use the Bump() function for this. So when a player Bumps into another car, it will do damage to them. Just give the player a variable that is the car's damage(not sure if the player will have life as well). And when their is a bump, add or take 10 damage from that damage variable...Check the DM Guide for info. on the Bump() proc. It should help..but Im a newbie coder as well, so I might be wrong.
|