Half-Life и Adrenaline Gamer форум http://aghl.ru/forum/ |
|
bomb map crossfire (killing) http://aghl.ru/forum/viewtopic.php?f=28&t=2161 |
Страница 1 из 1 |
Автор: | abdobiskra [ 22 май 2015, 19:44 ] |
Заголовок сообщения: | bomb map crossfire (killing) |
Hello I want to help here, I want to count the number of dead to him who pressure bomb button when the exchange of fire explosion ! Код: /* Plugin generated by AMXX-Studio */I want to make the death toll to calculate the player who pressed the bomb button |
Автор: | Lev [ 23 май 2015, 00:29 ] |
Заголовок сообщения: | Re: bomb map crossfire (killing) |
If I am not wrong, you can get working code about touching the button in the "EuroHL" plugin. By so you can get player who pressed the button. Then you need to add frags to him when players die of "trigger_hurt" classname entity. |
Автор: | unnamed [ 23 май 2015, 01:11 ] |
Заголовок сообщения: | Re: bomb map crossfire (killing) |
Keep in mind that there are 3 (as I remember) trigger_multiple at crossfire map. First - secret room. Second - nuclear button. Third - around 2 satchels in bunker. This trigger unused. But it still can call your touch function. Добавлено спустя 5 минут: Lev, Red button - fake button. In fact, there is a trigger_multiple. |
Автор: | abdobiskra [ 23 май 2015, 19:33 ] |
Заголовок сообщения: | Re: bomb map crossfire (killing) |
Код: LevNo results found ! |
Автор: | Lev [ 23 май 2015, 21:16 ] |
Заголовок сообщения: | Re: bomb map crossfire (killing) |
You missed Код: RegisterHam(Ham_Touch,"trigger_multiple","_trigger_multiple",1)You should check not for Код: if(!equal(classname,"nuke"))but Код: if(!equal(classname,"trigger_hurt"))as I said earlier. I see no reason for Код: SetHamParamEntity(2,killer)// set killer IDreplace with Код: new Float:frags; Also I suggest to move check Код: if (equali(map_name,"crossfire"))to plugin_init and pause plugin if map doesn't match. |
Автор: | abdobiskra [ 23 май 2015, 22:14 ] |
Заголовок сообщения: | Re: bomb map crossfire (killing) |
Код: Welcome to the AMX Mod X 1.8.1-300 Compiler. ![]() |
Автор: | unnamed [ 25 май 2015, 04:40 ] |
Заголовок сообщения: | Re: bomb map crossfire (killing) |
Код: //#include <fakemeta>Uncomment this. |
Автор: | Lev [ 25 май 2015, 06:07 ] |
Заголовок сообщения: | Re: bomb map crossfire (killing) |
And replace Код: set_pev(indexwith Код: set_pev(id |
Автор: | abdobiskra [ 27 май 2015, 00:49 ] |
Заголовок сообщения: | Re: bomb map crossfire (killing) |
No result does not work ![]() But with found the right solution is nuclear bombing ![]() I will make him like hell (map crossfire) ![]() ![]() The idea of nuclear missiles GordonFreeman ![]() When activate bomb ==> : |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |