GM/SetPlayerSpeed

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(RULES)
Line 1: Line 1:
 
{{Hook
 
{{Hook
|Name=SetPlayerSpeed
 
|Parent=GM
 
 
|Description=Sets player run and sprint speeds.
 
|Description=Sets player run and sprint speeds.
 
|Realm=Shared
 
|Realm=Shared
 
|Predicted=No
 
|Predicted=No
 +
|Name=SetPlayerSpeed
 +
|Parent=GM
 
}}
 
}}
 
{{Arg
 
{{Arg
Line 13: Line 13:
 
{{Arg
 
{{Arg
 
|type=number
 
|type=number
|name=WalkSpeed
+
|name=walkSpeed
 
|desc=The walk speed
 
|desc=The walk speed
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=number
 
|type=number
|name=RunSpeed
+
|name=runSpeed
 
|desc=The run speed
 
|desc=The run speed
 
}}
 
}}

Revision as of 11:11, 14 May 2015

 GM:SetPlayerSpeed( )

Contents

Description

Sets player run and sprint speeds.

Arguments

Player ply

The player

Arguments

number walkSpeed

The walk speed

Arguments

number runSpeed

The run speed
Personal tools
Navigation