1
2
3
4
5
2
3
4
5
--[[ Example: WeaponsTable = {32,51,74} The weapons with the ID 32, 51 & 74 (M4A1, HE & Wrench) will display the hitmarker on hit. ]]--
Hitmarker
It seems no one has done such a simple script before. And because I hate it when I have no idea if I'm hitting someone or not from a far distance I decided to make it.
The lower the enemy's health, the redder the marker gets.
Random rotation.
Nice little spot above your head.
Credits:
Majatek For the awesome sprite,
You can use this and edit it for whatever you like. But please ask permission if you're going to upload it, thank you.
How to install:
1) Place hit_marker.png in the gfx/yates/lua folder. Create one if not already made.
2) Place the lua file in sys/lua and add in the server.lua file;
1
dofile("sys/lua/hit_marker.lua")
1
gfx/yates/lua/hit_marker.png
edited 5×, last 29.05.12 01:25:04 pm
Approved by Infinite Rain
Download
2 kb, 751 Downloads