Commands/Lua

Reference for console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command setarmor

Categories

Parameters

  • player (1-32): id of a player
  • armor (0-255): armor

Info

Set the armor of a player (as server only).

There is regular armor (0 - 200, decreases when the player is hit).
And special armor (201-206, stays until removed via script / another armor type is assigned)

Special Armor Types:
  • 201 - Light Armor

  • 202 - Armor

  • 203 - Heavy Armor

  • 204 - Medic Armor

  • 205 - Super Armor

  • 206 - Stealth Suit

Lua Hook Lua Hooks

Lua Command Lua Commands