DVAR help

BlackOpsModder

Well-Known Member
Messages
47
Points
228
Hello I need help with a dvar, basicly I need a DVAR that i can able/unable to the box give me a certain weapon, example this dvar makes the box unmovable and than movable:
bind 3 "magic_chest_movable 0"
bind 4 "magic_chest_movable 1"
i need one that activate that the only weapon that the box can give me in the tgun and one that can make the box normal again being able to give me all the weapons that it could bring as normal.
Im willing to make a donation off 10 dollars gift card from amazon if it works perfectly.
 

IM x MoDzz

Known Member
Staff member
Messages
31
Points
128
Why not just do give "weaponnamehere", I don't think you can set the box to give you a set weapon.
 

vampytwist

"Don't you trust me?"
Staff member
Messages
538
Points
408
There Isn't a dvar that allows you to select a specific weapon to appear in the box first. It would needed to be handled though GSC.

You could still make a bind to give you a specific weapon in the box only but it would still require some gsc, and you would need to be host for it to work.
 
Last edited:

BlackOpsModder

Well-Known Member
Messages
47
Points
228
There Isn't a dvar that allows you to select a specific weapon to appear in the box first. It would needed to be handled though GSC.

You could still make a bind to give you a specific weapon in the box only but it would still require some gsc, and you would need to be host for it to work.
That is nice! Could you help me with that?

CabCon has a thread with all .gsc, I could make a donation if it works 100% properly like I want!
But I want the binds in number 8 to activate and 9 to deactivate, I also dont want any notifications when active or inactive.
 

BlackOpsModder

Well-Known Member
Messages
47
Points
228
That is nice! Could you help me with that?

CabCon has a thread with all .gsc, I could make a donation if it works 100% properly like I want!
But I want the binds in number 8 to activate and 9 to deactivate, I also dont want any notifications when active or inactive.
Im willing to give a 15 dollar amazon gift card!
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,281
Points
553
@BlackOpsModder I worked on exactly this a few years ago and it is possible. There is an array with the possible weapons in it. Also you can modify the random function for the magic box to change the probabilities of each weapon.

Unfortunately I'm not able to find the function anymore. Checked everything... :confused:
 

BlackOpsModder

Well-Known Member
Messages
47
Points
228
@BlackOpsModder I worked on exactly this a few years ago and it is possible. There is an array with the possible weapons in it. Also you can modify the random function for the magic box to change the probabilities of each weapon.

Unfortunately I'm not able to find the function anymore. Checked everything... :confused:
Oh man, mif u searched more I would be so gratefull I can pay 25 dollars in a amazon gift card, I really need it!
 
Top