6,833
edits
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = onPedEnterVehicle | ||
|side = shared | |||
|type = event | |type = event | ||
| | |games = iii vc sa | ||
| | |desc = a ped enters a vehicle.<br>The event is invoked once per vehicle enter at the earliest stage of all stages involved for entering the vehicle. Stages may include: moving towards the vehicle, opening a vehicle door, the vehicle entering animation, alignment, etc.<br>If the vehicle enter occurrence is blocked, the event is still triggered. (For example, if the ped can't reach any doors of a car.) | ||
|arg1 = Ped ped The ped that has started moving to enter a vehicle. | |||
|arg2 = Vehicle vehicle The vehicle that the ped is moving to. | |||
| | |arg3 = int seat The seat index that the ped is moving to. | ||
| | |cancel = false | ||
| | |||
}} | }} |
edits