Home   Help Search Login Register  

Author Topic: Detect if a player is in a vehicle  (Read 460 times)

0 Members and 1 Guest are viewing this topic.

max_killer_payne

  • Guest
Detect if a player is in a vehicle
« on: 02 Jul 2003, 19:26:00 »
I have a chopper called: (suprise) chopper

Then I have a man called: player

And another man called: pilot

whats the code line to detect if they're all inside the vehicle?? LCD u betta b online!! I need this fast!

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:Detect if a player is in a vehicle
« Reply #1 on: 02 Jul 2003, 19:32:06 »
In a trigger :

condition : (player in chopper) and (pilot in chopper)
onactivation : whatever you need.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Detect if a player is in a vehicle
« Reply #2 on: 02 Jul 2003, 19:33:55 »
u can do it in 2 wayz ;D

put in da activision of da triger

1) (pilot in chopper) and (player in chopper)

2) "_X in chopper" count [pilot,player] == 2

LCD OUT

[edit] i cant belive it  :o im geting slower  :-X but i provide more options ;D
« Last Edit: 02 Jul 2003, 19:34:38 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

max_killer_payne

  • Guest
Re:Detect if a player is in a vehicle
« Reply #3 on: 02 Jul 2003, 19:35:23 »
lol, cheers Igor Drunkov and LCD