GetVehicleCount: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Function|Server & Client|1.0}}
{{Info|Function|Server & Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Returns the number of vehicles.}}


{{FuncSyntax|GetVehicleCount()}}
{{FuncSyntax|GetVehicleCount()}}
Line 8: Line 8:
{{FuncNoParam}}
{{FuncNoParam}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns the number of vehicles.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua>
print("Vehicles: " .. GetVehicleCount())
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{VehicleFunctions}}

Latest revision as of 14:51, 26 June 2021