Author Topic: Passenger script - GUS  (Read 3366 times)

0 Members and 1 Guest are viewing this topic.

Offline Chezor

  • Wiseguy
  • **
  • Posts: 90
  • RPG Planet Scripter
    • View Profile
    • RPG Planet
Passenger script - GUS
« on: October 02, 2008, 06:04:03 pm »
Hi guys, i would like to know how passenger can be detected in vcmp. Windlord gave me idea in server but i forgot what he said actually :P
so if anyone could give a tip, i would appreciate  :)

Scripts: Fuel system in vehicles, Speedometer, Spawnback, Improved Copwork, Improved Jailing, Improved phone with sms, and many more. Coming soon..

Windlord

  • Guest
Re: Passenger script - GUS
« Reply #1 on: October 05, 2008, 10:14:31 am »
There are two ways a player can get into a vehicle in vcmp.
Either as a driver, or as a passenger.

The ids differ for the signal, vcmp.vehicleenter (VRocker's) depending on how you enter the vehicle.
If a person enters as a driver, save a variable that says taht the person is a driver on the specific car ID.
If a person enters as a passenger, save a variable that says that the person is a passenger on the specific car ID then pm the passenger the driver's name.
It should work then :P

"WSV has a passenger script too D:"