[SOLVED] [CS] remove multiple C4
Hello all! I have a simple question.
PHP Code:
If I have 2 or more C4 (which planted on map) the code removes only LAST PLANTED C4. How i can remove ALL c4 bombs from map (it's a simple fun mod). ? |
Re: [CS] remove multiple C4
1st you have to stop using fakemeta_util
Then, use a loop : PHP Code:
|
Re: [CS] remove multiple C4
Maybe try this:
Code:
new g_Bomb = fm_find_ent_by_model(-1, "grenade", "models/w_c4.mdl"); |
Re: [CS] remove multiple C4
Thank you all, question is solved.
|
| All times are GMT -4. The time now is 20:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.