←  Szukam pluginu

AMXX.pl: Support AMX Mod X i SourceMod

»

[ROZWIĄZANE] plugin który otwiera plik .txt


Best Answer Gasior 18.08.2013 16:15

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Staty"
#define VERSION "1.0"
#define AUTHOR "Unknown"

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /statystyki", "motd1")
}


public motd1(id)
{
show_motd( id,"staty.txt","Statystyki")
}

 

Go to the full post
Locked

kamros.tv's Photo kamros.tv 18.08.2013

Witam, kiedyś znalazłem plugin który po wpisaniu danej komendy w say np. /interp , otwierał plik .txt coś jak motd . Próbuje znaleźć tego pluginu ale coś z marnym skutkiem, ktoś może ma jakiś link i mógłby podać?

Quote

  • +
  • -
Best Answer Gasior's Photo Gasior 18.08.2013

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Staty"
#define VERSION "1.0"
#define AUTHOR "Unknown"

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /statystyki", "motd1")
}


public motd1(id)
{
show_motd( id,"staty.txt","Statystyki")
}

 


Edited by Gasior, 18.08.2013 16:15.
Quote

kamros.tv's Photo kamros.tv 18.08.2013

właśnie o ten kod mi chodziło dzięki

Quote
Locked