Siema. Chciałem przekompilować plik .sma próbowałem na wielu stronkach i nic ; / jakiś błąd jest ; / mógłby ktoś pomóc i przekompilować mi go ? Oto zawartość pliku ranga.sma :
/* Plugin generated by AMXX-Studio
By Sn!ff3r, requested by Myszax
*/
#include <amxmodx>
#include <amxmisc>
#include <csx>
#define PLUGIN "Rangi"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"
#define TASK 666
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_connect(id)
{
if(is_user_bot(id))
return
new param[1]
param[0] = id
set_task(1.0,"rank",TASK+id,param,1,"b")
}
public client_disconnect(id)
if(task_exists(TASK+id))
remove_task(TASK+id)
public rank(param[])
{
new id = param[0]
static stats[8], body[8]
get_user_stats(id, stats, body)
new ranga[30]
if ( stats[0] >= 0 && stats[0] <= 29)
format(ranga,29,"Boteq")
else if ( stats[0] >= 30 && stats[0] <= 59)
format(ranga,29,"Ciota")
else if ( stats[0] >= 60 && stats[0] <= 119)
format(ranga,29,"Lamus")
else if ( stats[0] >= 120 && stats[0] <= 209)
format(ranga,29,"WTF??")
else if ( stats[0] >= 210 && stats[0] <= 324)
format(ranga,29,"Butter fingers")
else if ( stats[0] >= 325 && stats[0] <= 499)
format(ranga,29,"Moherowy Beret")
else if ( stats[0] >= 500 && stats[0] <= 729)
format(ranga,29,"Szczymryj")
else if ( stats[0] >= 730 && stats[0] <= 999)
format(ranga,29,"Hardkor")
else if ( stats[0] >= 1000 && stats[0] <= 1399)
format(ranga,29,"Mały pro wymiot")
else if ( stats[0] >= 1400 && stats[0] <= 1849)
format(ranga,29,"Gary move out")
else if ( stats[0] >= 1850 && stats[0] <= 2299)
format(ranga,29,"Hardkorowy Koksu")
else if ( stats[0] >= 2300 && stats[0] <= 2899)
format(ranga,29,"Nie ma opierdalania sje")
else if ( stats[0] >= 2900 && stats[0] <= 3549)
format(ranga,29,"Nie ma lipy")
else if ( stats[0] >= 3550 && stats[0] <= 4999)
format(ranga,29,"Pro boteq")
else if ( stats[0] >= 5000 && stats[0] <= 5899)
format(ranga,29,"Killer")
else if ( stats[0] >= 5900 && stats[0] <= 6899)
format(ranga,29,"I'm the BoSS")
else if ( stats[0] >= 6900 && stats[0] <= 7999)
format(ranga,29,"Pro wariat")
else if ( stats[0] >= 8000 && stats[0] <= 9299)
format(ranga,29,"BullsEye")
else if ( stats[0] >= 9300 && stats[0] <= 9999)
format(ranga,29,"I'm the GOD")
else if ( stats[0] >= 10000 )
format(ranga,29,"HeadMaster")
set_hudmessage(255, 255, 255, 0.15, 0.55)
show_hudmessage(id, "Ranga: %s^nZabojstw: %d",ranga,stats[0])
}<div class="info">Zbliża się koniec abonamentu za serwer Counter Strike 1.6.</div>
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Kompilacja pliku .sma jakiś błąd.
Temat rozp.
5gram
, 29.04.2011 10:44
2 odpowiedzi w tym temacie
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych