[REQ-TF2] Give/Equip player flare gun
Im making pyro-paintball map.
One problem that I cant solve in map editor is giving weapons - thats impossible to do. Not every player have Flare Gun in his inventory (because its Unlockable weapon). Can anyone write simple plugin for me? My scripting skills are too low to write this plugin. I dont know how it works with tf2items extension, but I want something like this: When player is spawning: - plugin is giving (equpping) him TF_Weapon_FlareGun - plugin is changing players weapon model (if needed) - plugin is changing players weapon viewmodel (if needed) No need any CVAR's. |
Re: [REQ-TF2] Give/Equip player flare gun
It won't be visible unless they own it unfortunately. I think asherkin mentioned that changing weapons was broken after Valve introduced the system that merges CEconItemViews... I've yet to understand if that's serverside or clientside :o
|
Re: [REQ-TF2] Give/Equip player flare gun
Isn't only Hat's thing? Randomizer servers working still.
|
Re: [REQ-TF2] Give/Equip player flare gun
Quote:
I might be completely wrong though, I myself haven't yet realized why TF2Items can't spawn weapons anymore. |
Re: [REQ-TF2] Give/Equip player flare gun
2 Attachment(s)
Lazy version. Requires TF2Items and Give Weapon.
lern 2 test before posting code n00b
|
Re: [REQ-TF2] Give/Equip player flare gun
Unfortunately your plugin doesn't work for me. Player is not obtaining weapon.
But nevermind, You gave me another idea! The Map is executing commands from "Give Weapon" plugin and I dont need plugin to force weapon :) Big thanks :) |
Re: [REQ-TF2] Give/Equip player flare gun
2 Attachment(s)
Sorry; here's another version that works. Tested this time around :bacon:
PHP Code:
|
Re: [REQ-TF2] Give/Equip player flare gun
Quote:
|
Re: [REQ-TF2] Give/Equip player flare gun
@MasterOfTheXP: Works great! Thanks!
|
All times are GMT -4. The time now is 13:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.