Ranking diablo
Firxenowsky
13.11.2010
Mam pytanko jak stworzyć plugin :
Pisze /ranking i wyswietlaja się staty WWW (exp ranking)
Pisze /ranking i wyswietlaja się staty WWW (exp ranking)
Abes Mapper
13.11.2010
#include <amxmodx>
public plugin_init()
{
register_plugin("MOTD","0","amxx.pl")
register_clcmd("say /ranking","ranking")
}
public ranking(id)
{
show_motd(id,"ranking.txt","Ranking")
}
Plik ranking.txt do cstrike a w tym pliku stosujesz iframe
hardbot 13.11.2010
albo
zmieniasz tylko new const gszWebSite[] = "http://www.amxx.pl" stronę i ogień
#include <amxmodx>
new const gszWebSite[] = "http://www.amxx.pl"
public plugin_init(){
register_plugin("Web Stats", "1.0", "[H]ARDBO[T]");
register_clcmd("say /ranking","show_website");
}
public show_website(id){
static motd[1000],len = 0;
len += formatex(motd[len],sizeof motd - 1 - len,"<html><head><meta http-equiv=Content-Type content=text/html; charset=iso-8859-2></head><frameset rows=100%,* frameborder=no border=0 framespacing=0><frame name=main_frame src=%s></frameset></html>",gszWebSite);
show_motd(id,motd);
return PLUGIN_CONTINUE;
}
zmieniasz tylko new const gszWebSite[] = "http://www.amxx.pl" stronę i ogień