Commands/Lua

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

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command mp_building_price

Categories

Parameters

  • building (text): name of a building
  • price (0-16000): price in $

Info

Set the price for a building.

Buildings (Class 1 only!):
objects

Attention: Make sure that you use the name exactly as the building is called in-game (see list above).


Examples:
mp_building_price "Wall II" 50

Lua Hook Lua Hooks

Lua Command Lua Commands