Forum

> > CS2D > General > Use button to activate a console command
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Use button to activate a console command

2 replies
To the start Previous 1 Next To the start

old Use button to activate a console command

lenovo
GAME BANNED Off Offline

Quote
Hi us users and cs2d players. I have a nice idea for the next update for cs2d.

My idea is :

use button (trigger_use) to activate an console command.

example:

I (id 1) use the red button and ative the trigger_cmd and I get a m4a1. [trigger_use -> trigger_cmd (with equip 1 32)]

(trigger_cmd is an example)

My friend id 9 use the red button and gave 50 speed.
[trigger_use -> trigger_cmd with (speed x 50)]

x = get who have active the button
y = for all players (to admin use for exemple)

Optional : use msg2 to tell the player what he won.

Example : msg2 x "you won 50 of speed"

> comment about what you thing
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview