Difference between revisions of "SetWindVelocity"

From Multi Theft Auto: Wiki
Jump to: navigation, search
Line 18: Line 18:
 
==Example==
 
==Example==
 
<section name="Client" class="client" show="true">
 
<section name="Client" class="client" show="true">
<syntaxhighlight lang="lua">
+
{{Example}}
--Needed
 
</syntaxhighlight>
 
 
</section>
 
</section>
  
 
==See Also==
 
==See Also==
 
{{Client_world_functions}}
 
{{Client_world_functions}}

Revision as of 07:52, 21 November 2011

This function changes the wind velocity in San Andreas. This affects just the trees.

Syntax

bool setWindVelocity ( float velocityX, float velocityY, float velocityZ )

Required Arguments

  • velocityX: The velocity on the x-coordinate
  • velocityY: The velocity on the y-coordinate
  • velocityZ: The velocity on the z-coordinate

Returns

Returns true if successful, false otherwise.

Example

Click to collapse [-]
Client
Accessories-text-editor.png Script Example Missing Function SetWindVelocity needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO

See Also