Raised This Month: $ Target: $400
 0% 

tracer_fire (jon)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Event Related        Approver:   devicenull (200)
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 06-17-2004 , 20:21   tracer_fire (jon)
Reply With Quote #1

ported for following thread : http://130.215.31.29/forums/viewtopic.php?t=3119

Code:
/* 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( [email protected] ). 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>
Code:
/*	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
Attached Files
File Type: sma Get Plugin or Get Source (tracer_fire.sma - 17268 views - 9.5 KB)
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode