Weapon model change
Hello,
I have a weapon model, but when I get the weapon and change to a pistol it keeps the weapon model instead of taking the pistol. When I shoot I do hear the pistol shot, so that means that the weapon model replaces the pistol, but when I change to another item (like a knife) and then change to the pistol I do get it. So I was wondering what I did wrong with this code: PHP Code:
|
Re: Weapon model change
Try this (untested):
PHP Code:
|
Re: Weapon model change
This seems to be working perfectly! Thank you very much! If I will have other questions, could I PM you?
Edit: There is 1 run time error. When I drop the gun, and pick it up it says "Index out of bounds" Also I would have to switch weapons to get the model back on. |
Re: Weapon model change
Quote:
Also, try this: PHP Code:
|
Re: Weapon model change
Thank you, this is working.
Sorry for the quick bump, sometimes I got the feeling that when it's not at the first page anymore people will not look into it anymore. I will try to set that out of my mind. |
| All times are GMT -4. The time now is 20:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.