Garry's Mod Wiki

Revision Difference

Structures/VehicleTable#551314

<cat>struct</cat> <structure> <realm>Sandbox</realm> <description> Table structure passed to <page>SANDBOX:PlayerSpawnVehicle</page> </description> <fields> <item name="Author" type="string" default="VALVe"></item> <item name="Model" type="string" default="models/nova/jeep_seat.mdl"></item> <item name="Class" type="string" default="prop_vehicle_prisoner_pod"></item> <item name="Category" type="string" default="Chairs"></item> <item name="Information" type="string" default="A Seat from VALVe's Jeep"></item> <item name="Name" type="string" default="Jeep Seat"></item> <item name="KeyValues" type="table" default="{ 'vehiclescript' = 'scripts/vehicles/prisoner_pod.txt' , 'limitview' = 0}"> <item name="KeyValues" type="table" default="{ ['vehiclescript'] = 'scripts/vehicles/prisoner_pod.txt' , ['limitview'] = 0}"> <validate>Do any other values belong in the KeyValues table?</validate> </item> </fields> </structure>