2 Weapons HUD Probelm
1 Attachment(s)
Sorry if the title is a bit misleading. It actually means "I have 2 weapons with custom HUD sprites and I have a problem."
Ok, so it's like this: - Added 2 extra machine guns on my CS 1.6. The M60 and the Minigun. Both based obviously on original M249 - So far works great, no problem. - Decided to give them both custom HUD sprites. First, the Minigun. - So far so good, works prefectly. Now, the M60. - Default M249 HUD spirtes show up when I buy M60 instead of custom HUD that I assigned - Minigun still ok. No conflict on the M249 weapon itself either. WHAT I FOUND OUT Ok so basically what happens is the Minigun code conflicts with that of the M60. How the code for the custom HUD sprites are written doesn't work when there are 2 or more custom weapons cloned from the same gun. How I found this out is actually quite simple: In my "config.ini" they are written like this: PHP Code:
PHP Code:
So is there a way to do this so they don't "cut-off" each other? I've attached the source code so you can have a look see. I hope you guys can help me... |
| All times are GMT -4. The time now is 22:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.