plugin like in the picture
1 Attachment(s)
hello everyone. I have posted to the forum about this issue in the past, but my plugin in that code did not fully work for me, but I would like to thank those who helped me.
I want an add-on like in the picture, when the player chooses the 2nd AK 47, I want it to give her a special weapon skin. Image: https://forums.alliedmods.net/attach...1&d=1703275001 |
Re: plugin like in the picture
Are you talking about this plugin: https://forums.alliedmods.net/showthread.php?t=343890
? |
Re: plugin like in the picture
Quote:
|
Re: plugin like in the picture
Something you can do, is:
Create or find a variable which stores the selected weapon slot; Hook the moment the slot is select (user clicks), which is before Ham_Item_Deploy; In Ham_Item_Deploy, check that variable: PHP Code:
|
Re: plugin like in the picture
Quote:
|
Re: plugin like in the picture
That picture is fake. If you zoom you can see it’s a copy/paste from the first. It’s possible to make the c4 have the ak sprite. But yeah, my virtual weapons slots is the best solution right now.
|
Re: plugin like in the picture
Quote:
|
Re: plugin like in the picture
Look, that’s pretty much impossible.
It is kinda possible but it’s just too much effort for the work. Instead of doing this why don’t you try to change the weapon of the plugin? Instead of using AK use another one like galil. Most of zombie plugins already change reload time, ammo and sounds so changing the weapon could be a more simple solution for you. |
Re: plugin like in the picture
1 Attachment(s)
@Hakim Azizov
We've made this edit in the virtual_weapon_slots.sma code which will allow you to select two weapon skins. Open the script and rename "models/v_galil.mdl" to the special skin .mdl you want to apply. Note that you have to press 'F' and select your desired skin. The Player weapon skin/slot is saved in a variable so it will work perfectly when switching weapons*. Download: |
Re: plugin like in the picture
Quote:
|
| All times are GMT -4. The time now is 00:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.