CSHOT.PL - Pluginy amxx , plugins amxx , server game counter strike , serwery gier , forum
Reply Chat - Printable Version

+- CSHOT.PL - Pluginy amxx , plugins amxx , server game counter strike , serwery gier , forum (https://cshot.pl)
+-- Forum: Counter-Strike (https://cshot.pl/forumdisplay.php?fid=54)
+--- Forum: Counter-Strike 1.6 (https://cshot.pl/forumdisplay.php?fid=55)
+---- Forum: PLUGINY (https://cshot.pl/forumdisplay.php?fid=62)
+---- Thread: Reply Chat (/showthread.php?tid=2718)



Reply Chat - Poster - 09-18-2025

[TITLE] Reply Chat
[URL] https://amxx.pl/topic/125219-reply-chat/


Witajcie, przedstawiam Wam mój nowy plugin, (tj. pierwszy
[Image: cool.png]), myślę że wam
się spodoba. Informacje zawarłem na dole
[Image: smile.png]

SMA:




#include <amxmodx>
#include <amxmisc>

#define PLUGIN "PowitanieCHAT"
#define VERSION "0.2"
#define AUTHOR "Kava"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

register_clcmd("say siema", "funkcja_siema")
register_clcmd("say cze", "funkcja_siema")
register_clcmd("say czesc", "funkcja_siema")
register_clcmd("say elo", "funkcja_siema")
register_clcmd("say witam", "funkcja_siema")
register_clcmd("say siemandero", "funkcja_siema")
register_clcmd("say siemka", "funkcja_siema")
register_clcmd("say eloszka", "funkcja_siema")
register_clcmd("say yo", "funkcja_siema")
register_clcmd("say hi", "funkcja_siema")
register_clcmd("say cwel", "funkcja_flood")
register_clcmd("say ch*j", "funkcja_flood")
register_clcmd("say kurwo", "funkcja_flood")
register_clcmd("say suko", "funkcja_flood")
register_clcmd("say twoja stara", "funkcja_flood")
}

public funkcja_siema(id)
{
client_print(id, print_chat, "[Serwer] Witamy serdecznie na Serwerze! Zyczymy ci milej gry")
}

public funkcja_flood(id)
{
    client_print(id, print_chat, "[Serwer] Prosimy nie obrazac graczy. Dziekujemy!")
}

[Image: opis.png]

Działanie pluginu jest takie że za każdym razem, gdy ktoś wpisze na say wyraz
siema itp. plugin odpowie mu

**[Serwer] Witamy serdecznie na Serwrze! Zyczymy ci milej gry**

A gdy napisze wyraz kur** itd. plugin odpowie mu

**[Serwer] Prosimy nie obrazac graczy. Dziekujemy!**

[Image: ss.png]

[Image: 2rhs48y.png]

[Image: 9t1p42.png]

[Image: wymaganemoduly.png]

amxmodx

amxmisc

[Image: cvary.png]

brak.

[Image: download.png]
Załączone pliki

* [url=https://amxx.pl/index.php?app=core&module=attach&section=attach&attach_id=61950 "Pobierz załącznik"][Image: sma.gif][/url] [url=https://amxx.pl/index.php?app=core&module=attach&section=attach&attach_id=61950 "Pobierz załącznik"]**PowitanieCHAT.sma**[/url] **1,18 KB** 224 Ilość pobrań
[[Image: amxx.gif]**PowitanieCHAT.amxx**](/kompilator/plugin/61950
"Pobierz plik AMXX")







Załączniki:
PowitanieCHAT.sma