Szukam pluginu: Liczenie headshoot-ow
FORMOZA
20.02.2012
Witam, szukam pluginu na liczenie headshootow,rank,i procent hedshootów w fragach,
Screen:
http://img831.images.../391/headgs.jpg
Za pomoc, dam +
Ps. Nie chce żadnych zamienników
Screen:
http://img831.images.../391/headgs.jpg
Za pomoc, dam +
Ps. Nie chce żadnych zamienników
speedkill
20.02.2012
Plugin sprawdza ile razy gracz trafił w głowę czy ogólnie ile razy zabił headshotem ?
speedkill
20.02.2012
Testuj
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <csx> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "speedkill" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) } public client_putinserver(id) { set_task(1.0,"info",id,_,_,"b") } public info(id) { new stats[8],body[8] if(is_user_alive(id)) { new rank = get_user_stats(id,stats,body) new max = get_statsnum() set_hudmessage(42, 212, 255, 0.01, 0.5, 0, 6.0, 1.0) show_hudmessage(id, "%d Headshot'ow^nRank : %d/%d^nFragi %d^nHeadshot/Fragi : %d %",stats[2],rank,max,stats[0],100*stats[2]/stats[0]) } }
FORMOZA
20.02.2012
Niestety nie działa, mi to ale zrobiłem takie coś
Ale jak zrobić ze, jak ja zabijam to sie to pojawia ?
Użytkownik Pas edytował ten post 20.02.2012 18:23
#include <amxmodx>
#include <amxmisc>
#include <csx>
#define PLUGIN "New Plug in"
#define AUTHOR "speedkill"
#define VERSION "1.0"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg","hs","a","3=1")
}
public hs(id)
{
new rand = random_num(0, 0)
switch(rand) {
case 0: {
new stats[8],body[8]
if(is_user_alive(id))
{
new rank = get_user_stats(id,stats,body)
new max = get_statsnum()
set_hudmessage(0, 255, 255, 0.0, 0.15, 0, 6.0, 4.0)
show_hudmessage(id, "%d Headshot'ow^nRank : %d/%d^nFragi %d^nHeadshot/Fragi : %d %",stats[2],rank,max,stats[0],100*stats[2]/stats[0])
}
}
}
}
Ale jak zrobić ze, jak ja zabijam to sie to pojawia ?
Użytkownik Pas edytował ten post 20.02.2012 18:23
kasza
20.02.2012
A ja dam sobie rękę uciąć że jest to ten plugin http://amxx.pl/topic...adshot-dealuxe/