AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Messages and /something (https://forums.alliedmods.net/showthread.php?t=208040)

girotto000 02-09-2013 10:54

Messages and /something
 
Hi guys, the title of this topic it isnt very good, but im going to explain now

1. I have downloaded an addons, that every 120 seconds appears a message of the addons, that i want turn off!
Yes, i have the option of turn off, but this way im going turn off all the messages of the server, not only their messages.
I already search in amxx.cfg, messages.ini and i dont know where are this messages!! Could you please help me?

2. I want to know how to make that help texts into the server
example: the player write in the say /help
So then appears in his CS, a windows with something that i write!

Waiting and thanks for the help

Unkolix 02-09-2013 11:04

Re: Messages and /something
 
1. The messages are written in plugins.
2. If you want that when a person types /help he gets a motd with information. You need to search for this kind o a plugin.

girotto000 02-09-2013 11:08

Re: Messages and /something
 
I suspected that this messages were into plugins
Do you know how to transform .amxx plugins into .sma? so that way i can try to find where are this message and remove them..

Unkolix 02-09-2013 11:15

Re: Messages and /something
 
That is impossible. You should try searching it on forums by the .amxx name.

girotto000 02-09-2013 11:37

Re: Messages and /something
 
But i find a tutorial here in alliedmods that turn .amxx in .sma
Here is the tutorial:

http://translate.google.com.br/trans...pt-BR%26sa%3DG

naven 02-09-2013 11:40

Re: Messages and /something
 
Decompiling plugins is:
If you ask how- impossible
If you know how- hard

Code:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "nowy plugin"
#define VERSION "1.0"
#define AUTHOR "naven"


public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        register_clcmd("say /rules", "zasady")
}
public zasady(id){
        client_print(id, print_chat, "I said /rules!")//print client a message
        show_motd(id, "zasady.txt", "Zasady serwera")//shows motd called zasady.txt
}

btw. what plugin are you talking about?

@girotto000, after putting that in there it makes no sense at all.

Unkolix 02-09-2013 11:44

Re: Messages and /something
 
Quote:

Originally Posted by naven (Post 1890886)
Decompiling plugins is:
If you ask how- impossible
If you know how- hard

Code:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "nowy plugin"
#define VERSION "1.0"
#define AUTHOR "naven"


public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        register_clcmd("say /rules", "zasady")
}
public zasady(id){
        client_print(id, print_chat, "I said /rules!")//print client a message
        show_motd(id, "zasady.txt", "Zasady serwera")//shows motd called zasady.txt
}

btw. what plugin are you talking about?

@girotto000, after putting that in there it makes no sense at all.

Why do you make a print client message after he typer /help? Is kinda stupid.

Btw, put zasady.txt into cstrike folder.

girotto000 02-09-2013 12:33

Re: Messages and /something
 
Thanks for the plugin!
About the messages, i dont know from what plugin the are appearing in the server do you understand? ^^
I could change, if i knew what plugin is....

Unkolix 02-09-2013 12:34

Re: Messages and /something
 
What does that message says?

girotto000 02-09-2013 12:49

Re: Messages and /something
 
It's in Portuguese, but in english is something like this:
"INCS Addons Pega Pega
www.incs.tk
Addons of cs 1.6"

Pega Pega is catch mod.
Simplifying, it's an advertising.


All times are GMT -4. The time now is 20:41.

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