CMoveData/SetMaxSpeed

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 2: Line 2:
 
|Name=SetMaxSpeed
 
|Name=SetMaxSpeed
 
|Parent=CMoveData
 
|Parent=CMoveData
|Description=Sets the maximum speed of the player. This must match with {{ClassFunction|CMoveData|SetMaxClientSpeed}} both, on server and client.
+
|Description=Sets the maximum speed of the player. This must match with {{ClassFunction|CMoveData|SetMaxClientSpeed}} both, on server and client.<br/>
 +
Doesn't seem to be doing anything on it's own, use {{ClassFunction|CMoveData|SetMaxClientSpeed}} instead.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Latest revision as of 14:27, 6 December 2013

 CMoveData:SetMaxSpeed( )

Description

Sets the maximum speed of the player. This must match with CMoveData:SetMaxClientSpeed both, on server and client.
Doesn't seem to be doing anything on it's own, use CMoveData:SetMaxClientSpeed instead.

Arguments

number maxSpeed

The new maximum speed
Personal tools
Navigation