Half-Life и Adrenaline Gamer форум http://aghl.ru/forum/ |
|
Spawn Mine Protection + Server crash fix. http://aghl.ru/forum/viewtopic.php?f=20&t=705 |
Страница 1 из 4 |
Автор: | vamp [ 20 мар 2012, 06:32 ] |
Заголовок сообщения: | Spawn Mine Protection + Server crash fix. |
Hello 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. Server Crash fix I wont say how you can do the server crash. what would be needed is a amxmodx plugin that does not let you drop your last weapon. so you must have at least 1 weapon in your hand, not 0. greetz vamp |
Автор: | Lev [ 20 мар 2012, 06:40 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
vamp писал(а): so you must have at least 1 weapon in your hand, not 0. Код: public client_command(plrid) |
Автор: | GordonFreeman [ 20 мар 2012, 09:06 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
vamp писал(а): Hello in HLDS this is feature by default?does not let you drop your last weapon. My HLDS ver 48/1.1.2.1 4554 does not allow players to drop last weapons |
Автор: | vamp [ 20 мар 2012, 17:35 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
true thus fixing a bug, in AG this is still possible however. thank you Lev |
Автор: | vamp [ 20 мар 2012, 18:13 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
Here is an example of specific weapon spawn protection for cs. but I cant get it to work for hldm/AG to create spawn mine protection. Код: /* |
Автор: | vamp [ 24 мар 2012, 04:29 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
Lev писал(а): vamp писал(а): so you must have at least 1 weapon in your hand, not 0. Код: public client_command(plrid) works but not 100%. when I have a equipment like (snark,satchel,tripmine,grenade) I can drop all. if I have only an equipment then i cant drop my equipment. could it be made that weapon_crowbar can not be dropped ? with only basic amxmodx module (NO fun, fakemeta, ham etc) |
Автор: | Lev [ 24 мар 2012, 04:41 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
Yes. Catch drop command, check its argument - if "crowbar" - block command, if no argument - check current weapon, if it is crowbar - block command. Look at hl_get_weapon_id in hl.inc: viewtopic.php?f=20&t=59 |
Автор: | vamp [ 13 апр 2012, 04:39 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
could you make it? |
Автор: | Lev [ 13 апр 2012, 06:22 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
Код: #include <amxmodx>viewtopic.php?f=20&t=59 |
Автор: | vamp [ 16 апр 2012, 21:53 ] |
Заголовок сообщения: | Re: Spawn Mine Protection + Server crash fix. |
doesn't work compiled with the hl.inc compiled no errors, plugins runs fine, fakemeta added, crowbar drops normal. btw a question, amxmodx does not recongize hl1 weapons with get_user_weapon ? |
Страница 1 из 4 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |