Half-Life и Adrenaline Gamer форум http://aghl.ru/forum/ |
|
button-shot ! http://aghl.ru/forum/viewtopic.php?f=12&t=2072 |
Страница 1 из 1 |
Автор: | abdobiskra [ 13 фев 2015, 12:54 ] |
Заголовок сообщения: | button-shot ! |
Hello guys I just want to help in the development of this plugin It only works on the regular buttons, but I want him to also work with other buttons like a bomb crossfire Вложение: plugin Код: /* Plugin generated by AMXX-Studio */ |
Автор: | Lev [ 13 фев 2015, 23:22 ] |
Заголовок сообщения: | Re: button-shot ! |
That is because it is not a button. This is the trigger area where you just need to step into. You need something like Код: {Yes, this code is from EuroHL plugin. |
Автор: | abdobiskra [ 14 фев 2015, 21:17 ] |
Заголовок сообщения: | Re: button-shot ! |
Can you explain this line ! Код: new n = find_ent_by_target(-1,"fire_button_texture")Your plugin failed to compile! Код: Welcome to the AMX Mod X 1.8.1-300 Compiler.plugin In the new situation Код: #include <amxmodx> |
Автор: | Kuma77 [ 14 фев 2015, 22:32 ] |
Заголовок сообщения: | Re: button-shot ! |
Abdo find_ent_by_target need engine module to be work so , make sure you add this like Код: #include <engine> |
Автор: | abdobiskra [ 14 фев 2015, 23:25 ] |
Заголовок сообщения: | Re: button-shot ! |
thx Kuma77 Lev It does not work I just want to run through the bomb button you can fire a shot that? |
Автор: | Lev [ 14 фев 2015, 23:29 ] |
Заголовок сообщения: | Re: button-shot ! |
I am not sure if it will work, but you can try Код: RegisterHam(Ham_TraceAttack, "trigger_multiple", "Ham_UseButton")If it will not, you will need to capture all shoot events and check if TraceLine will pass thru trigger_multiple entity. |
Автор: | abdobiskra [ 15 фев 2015, 11:53 ] |
Заголовок сообщения: | Re: button-shot ! |
Unfortunately this does not help ![]() |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |