No C4 crash
I have the following script in the plugin:
PHP Code:
fm_strip_user_gun(id, CSW_C4) I tried everything , to remove info_bomb_target and info_bomb_blablabla ,bomb was given to player at round start. ONly strip user gun removes properly c4 but it crashes server sometimes. |
Re: No C4 crash
|
Re: No C4 crash
Quote:
|
Re: No C4 crash
Delete func_bomb_target & info_bomb_target entities, bomb won't be given again. When RestartRound is called there is a check for m_bMapHasBombTarget. If true GiveC4 is called, otherwise no one get the bomb. m_bMapHasBombTarget is filled like:
PHP Code:
|
Re: No C4 crash
Quote:
|
Re: No C4 crash
No, the code is to show you that if you remove the entities the c4 won't be given, it's c++ code from cssdk. Just find all info_bomb_target and func_bomb_target entities and remove them.
|
Re: No C4 crash
Quote:
Can you give me the right code? I tried with plugin_cfg from this topic , from Alka's and ConnorMcLeod's posts but doesnt work : https://forums.alliedmods.net/showthread.php?t=61685 |
Re: No C4 crash
PHP Code:
|
Re: No C4 crash
|
Re: No C4 crash
Quote:
|
| All times are GMT -4. The time now is 22:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.