How to disable M1 Garand for BOTs with LUA?


(vargatom) #1

Hi,
It is an opportunity with a LUA script to disable M1Garand for BOTs?
And how to display text in rows starting with the exclamation mark with LUA script?



(Micha) #2

cpm should be the right to display it there, for example:
et.trap_SendServerCommand(killer , "cpm "^7You have been ^3rewarded ^7with ^3ammo ^7supply
“”)

Omnibot has the feature to disable weapons itself. /et/scripts/et_weapontables.gm
Open it with an editor.


(vargatom) #3

Thx!:slight_smile:
et.trap_SendServerCommand(killer , "cpm " … works