GM/SetPlayerSpeed

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
(Undo revision 12863 by Dane (talk))
Line 7: Line 7:
 
{{Arg
 
{{Arg
 
|type=Player
 
|type=Player
|name=player
+
|name=ply
 
|desc=The player
 
|desc=The player
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=number
 
|type=number
|name=fRunSpeed
+
|name=runSpeed
 
|desc=The run speed
 
|desc=The run speed
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=number
 
|type=number
|name=fSprintSpeed
+
|name=sprintSpeed
 
|desc=The sprint speed
 
|desc=The sprint speed
 
}}
 
}}

Revision as of 10:13, 8 November 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