SetPlayerVelocity

From GT-MP
Jump to: navigation, search
SetPlayerVelocity
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#

Sets the velocity of a player.

Syntax

API.setPlayerVelocity(Client player, Vector3 velocity);

Required Arguments

  • player: parameter input should be in Client type.
  • velocity: parameter input should be in Vector3 type.

Usage example(s)

Example Description

API.setPlayerVelocity(Client player, Vector3 velocity);


References