Heh zrobiłem tak
#include <amxmodx> #include <fun> #include <cstrike> #include <hamsandwich> #include <engine> new uzycie[33] public plugin_init(){ register_clcmd("+duck","duck_on") register_clcmd("-duck","duck_off") register_clcmd("slot1","kombinacja") } public duck_off(id){ uzycie[id]=0 } public duck_on(id){ uzycie[id]=1 } public kombinacja(id){ if(get_user_button(id)&IN_DUCK){ client_cmd(id,"say uzylem wlasnie kombinacji ctrl+1") } }
Powinno się wyświetlić komunikat i nie trybii
Znalazłem coś takiego ale nie wiem czy to to (I to są alinsy wiec wiecie)
alias "+moje_bindy" "nowe_bindy" alias "-moje_bindy" "stare_bindy" alias "nowe_bindy" "bind o nowe_o" alias "stare_bindy" "bind o stare_o" alias "nowe_o" "defuser" alias "stare_o" "komnda ktora ma byc pod O kiedy wcisniete jest tylko ono" bind "l" "+moje_bindy"
Użytkownik kuczix edytował ten post 11.01.2010 17:44