Raised This Month: $51 Target: $400
 12% 

Nice player trail


Post New Thread Reply   
 
Thread Tools Display Modes
BACARRA
Senior Member
Join Date: Mar 2005
Old 12-17-2006 , 11:53   Re: Nice player trail plugin
Reply With Quote #71

can anyone help me with this error. it constantly repeats
Code:
12/17/2006 - 01:35:44: [AMXX] Run time error 4: index out of bounds 
L 12/17/2006 - 01:35:44: [AMXX]    [0] trail.sma::client_putinserver (line 117)
L 12/17/2006 - 01:43:59: [AMXX] Displaying debug trace (plugin "trail.amxx")
L 12/17/2006 - 01:43:59: [AMXX] Run time error 4: index out of bounds 
L 12/17/2006 - 01:43:59: [AMXX]    [0] trail.sma::client_disconnect (line 124)
BACARRA is offline
Regency
New Member
Join Date: Jul 2006
Old 01-01-2007 , 13:21   Re: Nice player trail plugin
Reply With Quote #72

i'm new here and i need help with this plugin trail . i need this plugin for amxmod whio can give me ??? i realy need
Regency is offline
Pinkrhino
Junior Member
Join Date: Jan 2007
Old 01-21-2007 , 14:03   Re: Nice player trail plugin
Reply With Quote #73

I need help too, i have installed it and all, but when i try to enable it it says like "Could not read colors.cfg" And i dont know what too do?
Pinkrhino is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 01-22-2007 , 04:45   Re: Nice player trail plugin
Reply With Quote #74

Quote:
Originally Posted by Regency View Post
i'm new here and i need help with this plugin trail . i need this plugin for amxmod whio can give me ??? i realy need

Quote:
Originally Posted by Pinkrhino View Post
I need help too, i have installed it and all, but when i try to enable it it says like "Could not read colors.cfg" And i dont know what too do?

So what do you need to know?


EDIT:

1. put plugin_trail.amxx in the folder named "plugins"
2. write in plugins.ini "plugin_trail.amxx" under the other names
3. copy the folders in the plugin_trail.zip into the folder amxmodx
4. Map change / server restart for loading the plugin
5. Finished

Last edited by cs1.6; 01-22-2007 at 04:56. Reason: Installation Instructions
cs1.6 is offline
bahr
Member
Join Date: Aug 2005
Old 01-22-2007 , 10:03   Re: Nice player trail plugin
Reply With Quote #75

Pinkrhino:

Put the 'colors.cfg' file in your amxmodx/configs folder. It is included in the zip.
bahr is offline
Send a message via MSN to bahr
Warrior Of Satan
New Member
Join Date: Feb 2007
Old 02-14-2007 , 21:26   Re: Nice player trail plugin
Reply With Quote #76

it says i need colors.cfg wtf do i do?
Warrior Of Satan is offline
OwnZ
Junior Member
Join Date: Feb 2007
Old 02-15-2007 , 09:29   Re: Nice player trail plugin
Reply With Quote #77

Great =]
Any pics ?
__________________
GunGame OwnZ All
OwnZ is offline
riz
Junior Member
Join Date: Feb 2007
Old 02-16-2007 , 14:26   trail for only admin?
Reply With Quote #78

is there a cvar for only admins who can have a trail?
__________________
<3 RastafaraI
riz is offline
Old 08-14-2007, 23:50
Anno
This message has been deleted by Anno.
Tommy
Junior Member
Join Date: Jan 2008
Old 02-09-2008 , 08:58   Re: Nice player trail plugin
Reply With Quote #79

Quote:
Originally Posted by bahr View Post
Ok, here we go:

Add these to the source:
Code:
public plugin_init() {
    ....
    register_event("TextMsg","on_JoinTeam","a","2=#Game_joinedteam")
}

new gl_ever_spawned[33]
public on_JoinTeam() {
    new name[32]
    read_data(3,name,31)
    new id = get_user_index(name)

    if (gl_ever_spawned[id] || !gl_parsed || gl_not_this_map) return PLUGIN_CONTINUE
    gl_ever_spawned[id] = true
    do_trail(id, "", "")
    return PLUGIN_CONTINUE
}

public client_disconnect(id) {
    gl_ever_spawned[id] = false
    ....
}
That should work

Note:
Code:
do_trail(id, "", "")
make the player have a RANDOM color trail. If you want him to have a, say, red color trail, replace this line with:

Code:
do_trail(id, "red", "")
hi sorry to bump an really old thread but I tried it this way. I edited the sma file, put those lines above into it and recompiled successfully ok.
but still when people join the server (me included) they won't have any random trail (any trail at all, until they request a trail by typing of course)

what am I doing wrong?
Tommy is offline
tgskills
Member
Join Date: Jul 2007
Location: Charlotte, North Carolin
Old 03-21-2008 , 19:16   Re: Nice player trail plugin
Reply With Quote #80

Do I put anything in plugins.ini ??
I put the colors.cfg in the config folder.
the player trails.amxx in the plugins folder.
Is everything right?
tgskills is offline
Reply



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:34.


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