GetPlayerSpeed

From NPC for VCMP 0.4 Servers
Revision as of 13:17, 8 November 2023 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
This will return the speed of the specified player, if that player is onfoot.


Parameters:

( playerId)

playerId: The ID of the player whose speed is to be obtained.


Return Values:
The speed of player as Vector on success and zero vector on error(player not connected).



Related Functions

The following functions may be helpful as they relate to this function in one way or another.