Home   Help Search Login Register  

Author Topic: someone has used car?  (Read 1029 times)

0 Members and 1 Guest are viewing this topic.

Mike

  • Guest
someone has used car?
« on: 09 Jan 2003, 00:12:29 »
What would be the best way to find out if someone is inside a vehicle? I am making a simple car theft script and I dont want to have to make a trigger for every car.. so if I can execute something that will activate when someone gets in the car. How and Thanks :)

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:someone has used car?
« Reply #1 on: 09 Jan 2003, 00:18:03 »
try:


_vehicle = this select 0

? _vehicleD in _vehicle: blahblah



Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:someone has used car?
« Reply #2 on: 09 Jan 2003, 00:26:07 »
LOL @ Tomb

Quote
I dont want to have to make a trigger for every car..

so u want him 2 exec script 4 every car ?

 ::) ::) ::)

LCD OUT
« Last Edit: 09 Jan 2003, 00:27:05 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:someone has used car?
« Reply #3 on: 09 Jan 2003, 00:30:20 »
nope! I just forgot to add the triggerName-part of it all  ::)

som'n about "all cars in thislist == _vehicle (if anyone gets into one of 'em)

sorry lsd, too busy to think clear right now! she's going down again  ::) 8) ;D

Mike

  • Guest
Re:someone has used car?
« Reply #4 on: 09 Jan 2003, 00:34:34 »
what about if the fuel isn't exactly 1?

? fuel of _unit > 1 : Goto "ok"

I dont know if Im supposed to use a < or >

is there a way to check fuel status of a unit?