Call of Duty 4: Scripting Reference - Vehicles::GetWheelSurface

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


GetWheelSurface( <wheel> )

Module: Vehicles
SP Only

Summary:

Returns the surface type of the given wheel as a string.


Call this on: a vehicle

Example:

surface = self GetWheelSurface( side );

Required arguments:

  1. <wheel> The wheel position, can be 'front_left', 'front_right', 'back_left', 'back_right', 'middle_left', 'middle_right'


Optional arguments:

none


Notes:

none