Documentation
The script outputs what type of grenade (+ flare) the teammate threw, similar mechanism like in CS:GO. The message will output only for the team squad itself and not for the enemy team.
Installation
IF YOU'RE USING Y.A.T.E.S: Just extract the grenade_info folder to
sys/lua/_yates/pluginsdirectory path and you're ready to go.
IF YOU'RE NOT USING Y.A.T.E.S: Extract the GrenadeInfo.lua file to
sys/luadirectory path. Afterwards, open server.lua file with a text editor and add the following line.
1
dofile("sys/lua/GrenadeInfo.lua")
Changelog
29.12.2016 - "used" is now replaced with "threw" in the message output.
27.12.2016 - Initial release.
Rules & Permissions
You can do anything as you wish with this script. You can also upload it to other source parts as long you have my permission.
edited 4×, last 15.07.17 01:29:34 pm
Approved by Sparty
Download
2 kb, 452 Downloads