Difference between revisions of "GetStreamedVehicles"

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetStreamedVehicles()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} == Ex...")
 
 
Line 1: Line 1:
 
{{Info|Function|Client|1.0}}
 
{{Info|Function|Client|1.0}}
  
{{FuncDescription|__EDIT_ME__}}
+
{{FuncDescription|Get the streamed-in vehicles identifiers in a table.}}
  
 
{{FuncSyntax|GetStreamedVehicles()}}
 
{{FuncSyntax|GetStreamedVehicles()}}
Line 8: Line 8:
 
{{FuncNoParam}}
 
{{FuncNoParam}}
  
{{FuncReturnValue|__EDIT_ME__}}
+
{{FuncReturnValue|Returns the streamed-in vehicle identifiers in a table.}}
  
 
== Example ==
 
== Example ==
__EDIT_ME__
+
<syntaxhighlight lang='Lua'>
 +
for k, v in pairs(GetStreamedVehicles()) do
 +
    AddPlayerChat("The vehicle ID "..v.." is streamed in for you.")
 +
end
 +
</syntaxhighlight>
  
 
{{RelatedFunctions}}
 
{{RelatedFunctions}}
__EDIT_ME__
+
{{ClientVehicleFunctions}}

Latest revision as of 18:22, 16 January 2020