moj plugin ranga
K1cK_PL
14.07.2010
Witam to moj 1 plugin ale cos niedziala niewiem czemu ;/ niewiem gdzie jest blad ale gdzies w linijce 017 proszę o pomoc
#include <amxmodx> #include <amxmisc> #define PLUGIN "Show ranga" #define VERSION "1.0." #define AUTHOR "K1cK" new kontakt_on public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /ranga","ranga") kontakt_on = register_cvar("ranga_on","1") register_logevent("pokaz_info",2,"1=Round_Start") } public ranga(id) { if(get_pcvar_num(ranga_on)) { show_motd(id,"/addons/amxmodx/data/ranga.txt","Opis rangi") } } public pokaz_info(id) { client_print(0,print_chat,"Zobacz za ile bedziesz mial kolejna range : wpisz /ranga") }
K1cK_PL
14.07.2010
#include <amxmodx> #include <amxmisc> #define PLUGIN "Show ranga" #define VERSION "1.0." #define AUTHOR "K1cK" new ranga_on public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /ranga","ranga") kontakt_on = register_cvar("ranga_on","1") register_logevent("pokaz_info",2,"1=Round_Start") } public ranga(id) { if(get_pcvar_num(ranga_on)) { show_motd(id,"/addons/amxmodx/data/ranga.txt","Opis rangi") } } public pokaz_info(id) { client_print(0,print_chat,"Zobacz za ile bedziesz mial kolejna range : wpisz /ranga") }
nada; noc to samo
G[o]Q
14.07.2010
#include <amxmodx> #include <amxmisc> #define PLUGIN "Show ranga" #define VERSION "1.0." #define AUTHOR "K1cK" new ranga_on public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /ranga","ranga") ranga_on = register_pcvar("ranga_on","1") register_logevent("pokaz_info",2,"1=Round_Start") } public ranga(id) { if(get_pcvar_num(ranga_on)) { show_motd(id,"/addons/amxmodx/data/ranga.txt","Opis rangi") } } public pokaz_info(id) { client_print(0,print_chat,"Zobacz za ile bedziesz mial kolejna range : wpisz /ranga") }
Użytkownik G[o]Q edytował ten post 14.07.2010 23:32
K1cK_PL
15.07.2010
#include <amxmodx> #include <amxmisc> #define PLUGIN "Show ranga" #define VERSION "1.0." #define AUTHOR "K1cK" new ranga_on public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /ranga","ranga") ranga_on = register_pcvar("ranga_on","1") register_logevent("pokaz_info",2,"1=Round_Start") } public ranga(id) { if(get_pcvar_num(ranga_on)) { show_motd(id,"/addons/amxmodx/data/ranga.txt","Opis rangi") } } public pokaz_info(id) { client_print(0,print_chat,"Zobacz za ile bedziesz mial kolejna range : wpisz /ranga") }
Nadal ten sam error w liijce 017 - nie mooze znależć pliku wyjsciowego kompilacji
Apple()
15.07.2010
Wg mnie to do dał DarkGL i to co dałeś Ty jest takie samo... dziwne, ale niech nam kolega powie co zaczarował
K1cK_PL
15.07.2010
Co dark dal no moze dale ale ja niewiem ze jest cos takiego i sie ucze na takim prostym pluginie pisac pluginy.
aha i jeszcze 1 wszystko dobrze zrobilem plugin dodalem plugins
ale jak chodzi o ranga.txt daje to do data/lang
ale jak wejde na serwer i wpisze /ranga to pokazuje mi cos takiego
Pokazuje mi to w takim oknie niewiem czemu
a oto moja ranga.txt
Aha i jeszcze jak jest tam
to podmienilem to nato ale tak samo niedziala ;/
15 lipiec 2010 - 10:26:
aha i jeszcze 1 wszystko dobrze zrobilem plugin dodalem plugins
ale jak chodzi o ranga.txt daje to do data/lang
ale jak wejde na serwer i wpisze /ranga to pokazuje mi cos takiego
Spoiler
Pokazuje mi to w takim oknie niewiem czemu
a oto moja ranga.txt
Spoiler
Aha i jeszcze jak jest tam
show_motd(id,"/addons/amxmodx/data/ranga.txt","Opis rangi")
to podmienilem to nato ale tak samo niedziala ;/
show_motd(id,"/addons/amxmodx/data/lang/ranga.txt","Opis rangi")
15 lipiec 2010 - 10:26:
===> 0-29 Wiesnia ===> 30-59 Lama ===> 60-119 Sierota ===> 120-209 Owieczka ===> 210- 324 Staruszka ===> 325-499 Cherlak ===> 500-729 Kozak ===> 730-999 Macho ===> 1000-1399 Snajper ===> 1400-1849 Rambo ===> 1850-2299 Terminator ===> 2300-2899 Wiesiek ===> 2900- 3549 Morfeusz ===> 3550-4999 Wybraniec ===> 5000-5899 Killer ===> 5900-6899 Multi Killer ===> 6900-7999 Owner ===> 8000-9299 Cziter ===> 9300-Czitero-Maniak
DarkGL
15.07.2010
nie zrozumiałem tego posta wyżej więc jeszcze raz napisze plik ranga.txt ma być w folderze data/lang