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

Showing results 1 to 25 of 44
Search took 0.03 seconds.
Search: Posts Made By: FLAiTE
Forum: Scripting Help 02-04-2015, 09:20
Replies: 8
Views: 1,462
Posted By FLAiTE
Re: how to make this line compatible with advanced bans?

not everyone has a dynamic IP...in romania there are many users who still have static IPs, or semi static IPs (that change 1/2 times a year).
Forum: Scripting Help 02-03-2015, 14:51
Replies: 8
Views: 1,462
Posted By FLAiTE
Re: how to make this line compatible with advanced bans?

thanks...i'll try adding quotes and ban by SteamID.
Forum: Scripting Help 02-02-2015, 07:53
Replies: 8
Views: 1,462
Posted By FLAiTE
how to make this line compatible with advanced bans?

Hi.
I'd like to add a voteban plugin on a server.
The main problem is that all voteban plugins are only compatible with the default amxx ban system.
I really like this /voteban...
Forum: HL1 Servers (HLDS) 01-28-2015, 13:40
Replies: 4
Views: 2,043
Posted By FLAiTE
Re: A question regarding sv_skyname

but the change isn't made via plugin, but via cvar...the plugin just executes a cfg file with that cvar.
sv_skyname "space"
Forum: HL1 Servers (HLDS) 01-28-2015, 05:13
Replies: 4
Views: 2,043
Posted By FLAiTE
A question regarding sv_skyname

Hi. I'm using a plugin that changes the sky at a certain time, by exec-ing a *.cfg file.
The file contains one simple line:

sv_skyname "space"

In the morning, @ 9:00 i'm exec-ing another cfg...
Forum: Scripting Help 12-25-2014, 03:28
Replies: 15
Views: 3,262
Posted By FLAiTE
Re: set_task print color chat

maybe it's because i tested it on an AMXX v1.8.3 Build 4490 server...i don't know. what matters is that it is working.
Forum: Scripting Help 12-24-2014, 23:54
Replies: 15
Views: 3,262
Posted By FLAiTE
Re: set_task print color chat

no...i tried it and the first time it printed something like:
* RED
* RED
* RED
* BLUE
(all at once)

the final code is useful 'cause i didn't found yet a plugin that does this (to print...
Forum: Scripting Help 12-24-2014, 23:38
Replies: 15
Views: 3,262
Posted By FLAiTE
Re: set_task print color chat

it does repeat multiple times the messages. (m1 function is called again at the end, as you coded)
the last argument, after "a", ("1" to be more explicit) means to repeat (if it's set to 0, it means...
Forum: Scripting Help 12-24-2014, 17:34
Replies: 15
Views: 3,262
Posted By FLAiTE
Re: set_task print color chat

finally, this is the version that does exactly what i want:
#include <amxmodx>

#define PLUGIN "Simple Messages"
#define VERSION "1.0"
#define AUTHOR "FLAiTE"

public plugin_init()
{
...
Forum: Scripting Help 12-24-2014, 12:27
Replies: 15
Views: 3,262
Posted By FLAiTE
Re: set_task print color chat

gonna try it tonight.
if it works, i'll let you know.
also, does it loop these functions (restart with m1, then m2, then m3 etc)?
Forum: Scripting Help 12-24-2014, 11:41
Replies: 15
Views: 3,262
Posted By FLAiTE
Re: set_task print color chat

obviously not, since i said the code is not working as it should, even though it compiles without errors/warnings.
in amxx v1.8.3+, the colorchat function is integrated, and the syntax to use it is...
Forum: Scripting Help 12-24-2014, 10:15
Replies: 15
Views: 3,262
Posted By FLAiTE
set_task print color chat

Hi. I'm new to AMXX coding, and i'd have a simple question:

I'm using AMXX Beta v1.8.3+, and i'd like to create my own plugin that prints chat messages.
so far, i did this:
#include <amxmodx>...
Forum: HL1 Servers (HLDS) 12-22-2014, 17:41
Replies: 2
Views: 764
Posted By FLAiTE
Re: Increase HL1 MOTD size workaround?

yeah, i figured it out. it works perfectly.
this topic can be closed :D
Forum: HL1 Servers (HLDS) 12-21-2014, 04:53
Replies: 2
Views: 764
Posted By FLAiTE
Increase HL1 MOTD size workaround?

Hi.
I'm running a CS v1.6 server and i'd have a question.
Is there any way to increase the 1536 character limit of the MOTD?
Or is there a workaround on this issue?
I'd like to write some stuff...
Forum: HL1 Servers (HLDS) 12-17-2014, 08:44
Replies: 5
Views: 1,508
Posted By FLAiTE
Re: what addon should i use to optimize my server?

coming back to this...
my server is running on windows 7. in the past, i had a server on windows VISTA and the pings were ~7ms's lower than on windows XP.
since windows 7 and windows XP have almost...
Forum: HL1 Servers (HLDS) 02-01-2014, 16:59
Replies: 5
Views: 1,508
Posted By FLAiTE
what addon should i use to optimize my server?

Hy.
I have a Counter-Strike 1.6 Server that runs on a Windows 7 Ultimate x64 machine, with the following hardware specs:
CPU: AMD Athlon II x4 640 @ 3GHz + 3rd party cooler
RAM: 4GB DDR2 @ 800MHz...
Forum: Code Snippets/Tutorials 12-28-2013, 08:01
Replies: 282
Views: 289,440
Posted By FLAiTE
Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)

so, when i have write_byte(id), i'll replace it with write_byte(red) ?
i just wanted to know if it's possible to use colorchat in the form i showed in post #259.
Forum: Code Snippets/Tutorials 12-27-2013, 18:05
Replies: 282
Views: 289,440
Posted By FLAiTE
Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)

but if i want to print it RED for all?
it's not the same syntax like client_print_color(id, RED, "...message...")
Forum: Code Snippets/Tutorials 12-27-2013, 14:29
Replies: 282
Views: 289,440
Posted By FLAiTE
Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)

i have another question...
if i want to use colorchat for stuff like this:

format(message, 127, "%c[G]*ALIVE*%s : %s^n", 2, name, message);
..............................
Forum: Code Snippets/Tutorials 12-25-2013, 23:13
Replies: 282
Views: 289,440
Posted By FLAiTE
Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)

actually, it was working...sorry man, my stupidity.
I downloaded the beta version of AMXMODX (just to see how the function was integrated).
I noticed that "register_dictionary_colored" doesn't work...
Forum: Code Snippets/Tutorials 12-25-2013, 11:24
Replies: 282
Views: 289,440
Posted By FLAiTE
Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)

Hey Connor. It's fantastic what you've done here.
I have a question.
For example if i have in the SMA the following line:

client_print_color(0, RED, "%L", LANG_PLAYER, "RENAME_NOTIFY_ALL",...
Forum: Scripting Help 12-05-2013, 06:00
Replies: 0
Views: 402
Posted By FLAiTE
admin rang chat colored help

Hi.
I modified a plugin i found on the internet to print the chat differently for each admin grade.
The plugin works flawless, but when i connect on the server and move to the spectators team, it...
Forum: Code Snippets/Tutorials 10-16-2013, 08:53
Replies: 282
Views: 289,440
Posted By FLAiTE
Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)

hmm...
so, in conclusion...if i have AMXX 1.8.3 latest build and i have to edit the line (the words ”immunity off” to be BLUE, for example):

client_print(id,print_chat,"Server does not allow...
Forum: Code Snippets/Tutorials 10-14-2013, 06:42
Replies: 282
Views: 289,440
Posted By FLAiTE
Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)

okay...and if i want to modify the language files?
for example:
time.txt:

[en]
TIME_ELEMENT_SECOND = second
TIME_ELEMENT_SECONDS = seconds
TIME_ELEMENT_MINUTE = minute
TIME_ELEMENT_MINUTES =...
Forum: Code Snippets/Tutorials 10-13-2013, 17:15
Replies: 282
Views: 289,440
Posted By FLAiTE
Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)

i don't get it man...please help me.
for example, i have the attached plugin. how can i edit it to have colours in my chat?
i'm using AMXX 1.8.3 b190.

can you please give me a concrete example...
Showing results 1 to 25 of 44

 
Forum Jump

All times are GMT -4. The time now is 03:56.


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