Sideweapon v3
2 Attachment(s)
Hello everyone, I need a hand, could you adapt the code so that I can use the pistols and the knife?
I just made the model quickly I comment the submodels that it uses: HTML Code:
0 BlankQuote:
|
Re: Sideweapon v3
I didn't test it, so feel free to blame me if it's not working
It should work, but I'm not sure |
Re: Sideweapon v3
Quote:
I even tried if the model works, but we'll see how it goes Edit: Code:
//// sideweapon3.sma |
Re: Sideweapon v3
2 Attachment(s)
Now it compiles... Sry
|
Re: Sideweapon v3
Quote:
I'll take a closer look and see if I can fix anything. |
Re: Sideweapon v3
Quote:
|
Re: Sideweapon v3
Quote:
https://i.imgur.com/1YbI45w.png https://i.imgur.com/Suzpkva.png But the version with a knife, it closes the game, I thought it was my model, but it works fine. Maybe something should be corrected there. Edit:Then I will fix the model, to correct the position, it is that I made it approximate without reference haha |
Re: Sideweapon v3
Quote:
Edit: try to add iWeapon = -1 at the end of last while. It crashes because of infinite 'while' (didn't notice that thing) Or, simply, replace last function (CheckWeapons) with this fixed version: PHP Code:
|
Re: Sideweapon v3
Quote:
If a pistol is selected, make it default instead of blanking, the knife can't be thrown anyway |
| All times are GMT -4. The time now is 15:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.