Gamemode.GetVehicles

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NameGetVehicles
SyntaxGM:GetVehicles( )
DescriptionGets the vehicles table
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.GetVehicles]Gamemode.GetVehicles [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]

Examples

DescriptionGets the vehicles table
Used onNewerShared.png
Code
 
/*---------------------------------------------------------
   Name: gamemode:GetVehicles( )
   Desc: Gets the vehicles table..
---------------------------------------------------------*/
function GM:GetVehicles()
 
    return vehicles.GetTable()
 
end
 
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox