OnPlayerEnterVehicle

From Vice City Multiplayer
Revision as of 11:58, 9 March 2016 by Anik (talk | contribs) (Created page with "This is called when a player enters any Vehicle. == Syntax == function onPlayerEnterVehicle( player, vehicle, door ) == Example == <source lang="squirrel"> function onPlay...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

This is called when a player enters any Vehicle.

Syntax

function onPlayerEnterVehicle( player, vehicle, door )


Example

function onPlayerEnterVehicle( player, vehicle, door )
{
ClientMessage("You Have Entered "+GetVehicleNameFromModel( vehicle.Model )+".",player,0,205,0);
}