View Single Post
Author Message
MrLalatg
Junior Member
Join Date: Mar 2020
Old 08-14-2020 , 04:15   Hook one entity button
Reply With Quote #1

I've never worked with entities before and cannot find much info about them, but I suppose that the buttons on maps are entities (for example on minigame maps like mg_lego_multigames).

The thing is the creator of the map has done so when the button is pressed something happens, for example, some convars are changed and so on.

I want to know, can I somehow hook a press event of a specific button on the map to run some code? Or at least to change some cvars

Help me plz
MrLalatg is offline