game.SetSkillLevel

From Garry's Mod
Jump to: navigation, search
 game.SetSkillLevel( )

Description

Sets the difficulty level of the game, can be retrieved with game.GetSkillLevel.

This will automatically change whenever the "skill" convar is modified serverside.

Arguments

number level

The difficulty level, Easy( 1 ), Normal( 2 ), Hard( 3 ).
Personal tools
Navigation