• Welcome to Vice City Multiplayer.
 

Passenger script - GUS

Started by Chezor, October 02, 2008, 04:04:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chezor

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

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:"