Mozna by przerobic ten plugin tak aby byl zawsze włączony ??
Kod:
/* AMX Mod X Aim Practice.
I know there is a plugin that already allows only headshots.
I made it because i found it to be very buggy, so if you only
want the headshot mode, use this :)
Version History: -
First release: 1.0
Fixed print_chat from id, to all. Now everyone knows when its enabled
Usage: -
aim_prac <on|off> or <1|0>
Get the latest version at: -
http://www.amxmodx.org/forums/viewtopic.php?p=31377#31377
(c) 2003, James "rompom7" Romeril
This file is provided as is (no warranties).
*/
#include <amxmodx>
#include <fun>
public aim_prac(id)
{
if (id && !((get_user_flags(id) & ADMIN_LEVEL_A)))
{
client_print(id, print_console, "[AMXX] Nie Masz dostepu do tej komedy")
return PLUGIN_CONTINUE
}
new arg[8]
read_argv(1, arg, 7)
if((equali(arg, "on"))||(equali(arg, "1")))
{
set_user_hitzones(0 ,0, 2)
client_print(id, print_console, "[AMXX] Wlaczono Only Headshot Mod")
client_print(0, print_chat, "[AMXX] Wlaczono Only Headshot Mod")
}
else
{
set_user_hitzones(0, 0, 255)
client_print(id, print_console, "[AMXX] Wylaczono Only Headshot Mod")
client_print(0, print_chat, "[AMXX] Wylaczono Only Headshot Mod")
}
return PLUGIN_HANDLED
}
public plugin_init()
{
register_plugin("Aim Practice","1.0","James Romeril")
register_concmd("aim_prac", "aim_prac", ADMIN_LEVEL_A, "aim_prac <on|off> or <1|0>")
}
Najlepszy hosting www tutaj
Nowa strona, nowe zdjęcia: http://naven.com.pl/ Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na www.naven.com.pl
Jebać steama.