resetWindVelocity | Multi Theft Auto: Wiki Skip to content

resetWindVelocity

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function resets the wind velocity in San Andreas to its default state.

Syntax

bool resetWindVelocity ( )

Returns

  • bool: value

Returns true if successful, false otherwise.

Code Examples

shared

This example returns the wind velocity to a player if they use the command 'resetwindvelocity'.

function commandResetWindVelocity()
resetWindVelocity()
outputChatBox("Wind velocity reset to default", 0, 255, 0)
end
addCommandHandler("resetwindvelocity", commandResetWindVelocity)

See Also

World Functions