Home   Help Search Login Register  

Author Topic: CRASH LAND  (Read 1958 times)

0 Members and 1 Guest are viewing this topic.

Migebuff

  • Guest
Re:CRASH LAND
« Reply #15 on: 21 Mar 2004, 00:26:24 »
Quote
Impossible.
Lol, you are just too lazy to answer him, admit it!


vehicle player setfuel 0
@ getpos player select 2 <= 30
player addeventhandler ["hit",{player setdammage 0}]
@ speed vehicle player <= 5
player removealleventhandlers "hit"

Edit: Error fixed, thx Oskar  :)
« Last Edit: 21 Mar 2004, 22:15:47 by Migebuff »

Oskar

  • Guest
Re:CRASH LAND
« Reply #16 on: 21 Mar 2004, 21:31:07 »
Man, that was great.. it worked for me :D

vehicle player setfuel 0
@ getpos player select 2 <= 30
player addeventhandler ["hit",{player setdammage 0}]
0}]
@ speed vehicle player <= 5
player removealleventhandlers "hit"

You have to remove the 0}] on the 4th line, it was the thing messing it up. If you remove it will work great..