GM/SetPlayerSpeed

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Hook |Name=SetPlayerSpeed |Parent=GM |Description= |Realm=Shared }}")
 
Line 2: Line 2:
 
|Name=SetPlayerSpeed
 
|Name=SetPlayerSpeed
 
|Parent=GM
 
|Parent=GM
|Description=
+
|Description=Sets player run and sprint speeds
 
|Realm=Shared
 
|Realm=Shared
 +
}}
 +
{{Arg
 +
|type=Player
 +
|name=ply
 +
|desc=The player
 +
}}
 +
{{Arg
 +
|type=number
 +
|name=runSpeed
 +
|desc=The run speed
 +
}}
 +
{{Arg
 +
|type=number
 +
|name=sprintSpeed
 +
|desc=The sprint speed
 
}}
 
}}

Revision as of 13:56, 31 March 2013

 GM:SetPlayerSpeed( )

Contents

Description

Sets player run and sprint speeds

Arguments

Player ply

The player

Arguments

number runSpeed

The run speed

Arguments

number sprintSpeed

The sprint speed
Personal tools
Navigation