[L4D2]Clear drop items
1 Attachment(s)
Description:
Delete discarded items Reason for creation: My server has too many entities. Write this plugin to reduce the possibility of server crashes. The total number of custom map entities is too large. If you have a lot of plugins installed or modified the number of entities, you can try. How long does it take to clear after discarding: sm_drop_clear_time "" Save Log: logs/remove_drop_weapon.log classname: https://developer.valvesoftware.com/..._L4D2_Entities line 7: Modify the "weapon name" to support other games(The following is the L4D2 version) Code:
new const String:ItemDeleteList[][] = version: clear_weapon_drop.smx v1.0 new plugin v1.1 dug fix v1.2 Change print language (Mi.Cura) v1.3 bug fix (Marttt) v1.4 change some code to support other games v1.5 bug fix v1.6 bug fix v1.7 bug fix v1.8 add hook player_disconnect(z), EntIndexToEntRef(HarryPotter) StrContains change StrEqual My plugins 贊助網址 Donation URL https://pay.ecpay.com.tw/CreditPayme...=3050613&Enn=e |
Re: [l4d2]remove drop weapon
v1.1 修復刪除錯誤項目
|
Re: [l4d2]remove drop weapon
测试中
|
Re: [l4d2]remove drop weapon
I tried to compile because PrintToChat is in the Chinese language. And I got these errors:
/home/groups/sourcemod/upload_tmp/phpA7jZ8C.sp(1): error 010: invalid function or declaration /home/groups/sourcemod/upload_tmp/phpA7jZ8C.sp(59): warning 213: tag mismatch /home/groups/sourcemod/upload_tmp/phpA7jZ8C.sp(85): warning 213: tag mismatch /home/groups/sourcemod/upload_tmp/phpA7jZ8C.sp(94): warning 213: tag mismatch The correct way would be to be in English, to be compiled for each language that was desired. My opinion |
Re: [l4d2]remove drop weapon
1 Attachment(s)
I use google translation....
warning is ok can use I am not a professional staff compiled, I am sorry for my limited ability. Anyone is welcome to perfect it |
Re: [l4d2]remove drop weapon
Quote:
Thank you for sharing your work. |
Re: [l4d2]remove drop weapon
Quote:
Thanks for this Marttt ! PS: Mais uma vez obrigado por ajudar compartilhando seu conhecimento. |
Re: [l4d2]remove drop weapon
Thank you for your repair
I will update the version for it. |
Re: [l4d2]remove drop weapon
Just to report.
I tested it and everything okay, works well. Thank you all |
Re: [Any]Remove Drop Weapon
v1.4:
Remove some code to support other games |
All times are GMT -4. The time now is 04:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.