Half-Life и Adrenaline Gamer форум http://aghl.ru/forum/ |
|
Spawn Mine Protection + Server crash fix. http://aghl.ru/forum/viewtopic.php?f=20&t=705 |
Страница 3 из 4 |
Автор: | vamp [ 03 июн 2012, 03:43 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
hehe you are getting on to me ![]() anyway it is a great module for achieving many handy and fun things. sadly with this project for the league I can not effort it, maybe in the full version. on plugins, programming methods, and modules I try to stay as efficient as possible for the players. maybe there is a paid assignment for either Lev or you Kord for not much maybe 30-50e in the end (couple weeks from now). to Optimize the source when it is done. which wont be all that much code neither ![]() I really can use some help in efficiency later down the road. this will be the last thing that im part of, that I co want to give to the hldm AG community. Ill only play with -arT. for fun sometimes in matches besides that im planning to call in my resignation. Im over time ![]() |
Автор: | fkk [ 08 июн 2012, 17:52 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
vamp писал(а): Spawnmine Is someone able to create a spawn mine protection with amxmodx? on spawn 2 seconds protection for weapon_tripmine and done. this way the mine explodes hurting others around it. but not the spawned player. bringing tripmines back into the game and a new fair dimension of using them on spawnpoint. greetz vamp Try this: Код: #include <amxmodx> Keep in mind that this is my first attempt at writing code for amx so there might be some bugs, but I've tested it for a few days and everything seems alright. Cheers! ![]() |
Автор: | Lev [ 08 июн 2012, 18:05 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
Good job! |
Автор: | vamp [ 16 июл 2013, 16:04 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
vamp писал(а): ![]() Код: #include <hl.inc> can anyone create this plugin that blocks dropping your crowbar with fakemeta or engine ? |
Автор: | Lev [ 16 июл 2013, 16:51 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
There is no real difference which module you will use. In fakemeta you can use get_pdata_int in place of get_pdata_cbase in HAM. Код: #define EXTRAOFFSET 5So you just need this code. Replace get_pdata_cbase with get_pdata_int. If I am not wrong, it should work. |
Автор: | vamp [ 16 июл 2013, 22:16 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
thanks for the fast response! I will test after dinner. |
Автор: | Lev [ 19 июл 2013, 11:10 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
Oo Did you just compile this? This is not a plugin. This is a sample code. You have to use it correctly. hl.inc is not needed if you implement these functions in plugin. |
Автор: | vamp [ 19 июл 2013, 12:11 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
figured you would give me something as much ![]() |
Автор: | Lev [ 19 июл 2013, 14:05 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
No, I gave least needed. |
Страница 3 из 4 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |