View Single Post
Plugin Info:     Modification:          Category:          Approver:   Geesu (62)
bahr
Member
Join Date: Aug 2005
Old 10-14-2005 , 11:35   Nice player trail
Reply With Quote #1

Plugin_trail by Bahrmanou

NEW v1.3: Each player can now choose his own type of trail!
NEW v1.3.1: Trails should not disappear anymore (I hope )
  • NOTE for version 1.3:
    =====================
    In preceding versions, the config file was named 'trail.ini'. I found better the name
    'colors.cfg'. So if you already had a config file for this plugin, PLEASE rename it to
    'colors.cfg'; the syntax is still the same though.

Gives players a nice colored trail

12 (twelve) types of trails, lots of colors, adjustable life, brightness, size!

The colors definitions is keep in a file instead of being 'hardcoded' in the plugin,
so the colors can be very easily modified, deleted, added,...No more need to
re-compile the plugin!!

Say you want to add a color. you add one line in the file, save it and do a

'amx_trail_reload'

in your server console, et voila!! The new color is ready


Commands:

ADMINS ONLY:

Code:
	amx_trail ['on'|'off'|'1'|'0'] : enable/disable trails.
	amx_trail_user <name or #userid> <colorname | 'random' | 'off'> : set user trail.
	amx_trail_type <type> : set trail type (sprite) for all players.
	amx_trail_life [duration] : get/set trail duration, in seconds.
	amx_trail_size [size] : get/set trail size.
	amx_trail_brightness [brightness] : get/set trail brightness.
	amx_trail_reload : reload colors configuration file.
ALL:

Players can say 'trail [arguments]' to get or remove a trail.

Examples of say commands:

Code:
trail
trail random
trail 10
trail blue
trail light red
trail 6 dark olive
trail 11 blue
trail off
trail help
All color names can be prefixed with 'light' or 'dark', i.e: red, light red, dark red, etc.


Have fun
Attached Files
File Type: zip plugin_trail.zip (7.4 KB, 39636 views)
File Type: sma Get Plugin or Get Source (plugin_trail.sma - 44871 views - 23.9 KB)
bahr is offline
Send a message via MSN to bahr