tracer_fire (jon)

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

tracer_fire (jon)

Post by greenie »

/* AMX Mod X script.
*
* tracer_fire by jon
*
* based on war weapon tracers.
*
* latest fixes:
* - found get_user_origin mode 4, for cs only.
* this allows us to draw the tracer to where the bullet actually
* went instead of where the player was aiming.
*
* features solid, random, weapon class, and team color(s)
* and a new option to prevent player from seeing their own tracer.
*
* *******************************************************************************
*
* Ported By KingPin( kingpin@onexfx.com ). I take no responsibility
* for this file in any way. Use at your own risk. No warranties of any kind.
*
* *******************************************************************************
*
*
* TODO:
* - read default colors from a cfg or ini or something
* - save colors/mode between map changes instead of loading defaults
*/


#include <amxconst>
#include <amxmodx>
#include <amxmisc>
#include <string>
/* gamemode:
* 0 - disabled
* 1 - use nCOLOR vars for color (defaults to pink 255,0,204)
* 2 - random color from fixed table for every shot
* 3 - use weapon table for colors
* 4 - team based. CT=blue, T=red
*/
new gamemode

/* option_all
* 0 - send individual messages. player does not 'see' his/her own tracer. bots do not 'see' tracers.
* 1 - MSG_ALL every tracer.
*/
new option_all = 1
get plugin
Post Reply

Return to “Event Related”