ACF-Team / ACF-3

ACF
MIT License
67 stars 54 forks source link

[Question] buildmode hooks? #330

Closed gmodmurderserver closed 1 year ago

gmodmurderserver commented 1 year ago

Short Description

i am wondering how i do it for kyle's buildemode thing for ulx to stop players from taking or doing damage to builders, as i can't find any real examples.

https://steamcommunity.com/sharedfiles/filedetails/?id=1308900979

wrefgtzweve commented 1 year ago

Should be what you need: https://github.com/Stooberton/ACF-3/blob/1387113c1b8cc3c1c3e348331438a10c58338620/lua/acf/damage/damage_sv.lua#L482

TwistedTail commented 1 year ago

Something like this?