Give more than 1 item to a Player
Hey, is there any way to bypass the items limitation in CS:GO ? for example a player cant hold more than one rifle, more than one pistol etc..
Or is it client-sided? I'm trying something like this: Code:
GivePlayerItem(client, "weapon_awp");I tried setting m_bPreventWeaponPickup to false like this: Code:
SetEntProp(client, Prop_Data, "m_bPreventWeaponPickup", false); |
Re: Give more than 1 item to a Player
I've got a hunch that what you're trying to do is practically impossible with sourcemod.
|
Re: Give more than 1 item to a Player
You could do this in AMX if i recall correctly but then again I'd be dating myself a little over a decade
|
Re: Give more than 1 item to a Player
:) You can not have more than one primary weapon :)
|
Re: Give more than 1 item to a Player
I know that I cannot have it, that's why I'm asking for a way to remove that limit lol
|
Re: Give more than 1 item to a Player
No but you can do a hacky way around it with SourceMod if you're interested in that.
However, I could never figure out a way to remove the limitation itself with SM or without. |
Re: Give more than 1 item to a Player
Quote:
|
Re: Give more than 1 item to a Player
Simply put, you need to set an array for each slot and the player cycles through by pressing the slot button.
This was when I was attempting to get dual wielding to work, which I never did. If I can find the code I will post it, but I really have no idea where it went. |
Re: Give more than 1 item to a Player
Found it! However...
I was wrong about how the method works, but it's something to go off of I guess.
Spoiler
Here's it in action. https://puu.sh/uNFAm/f70f165f90.gif |
Re: Give more than 1 item to a Player
Oh.. Thank you for sharing this! I will test it as soon as I got back home, again Thank you
|
| All times are GMT -4. The time now is 08:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.