Raised This Month: $51 Target: $400
 12% 

[TF2] Problem with enabling buildings


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 02-13-2015 , 16:39   [TF2] Problem with enabling buildings
Reply With Quote #1

When I will disable a building and then if I will enable it, it will not work expect the sentry

I have already tried SetEntProp(ent, Prop_Send, "m_bDisabled", 0);

I have found that dispenser can be fixed via SetEntProp(ent, Prop_Send, "m_iState", 0);

But the teleporter is still disabled...
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-13-2015 , 16:57   Re: [TF2] Problem with enabling buildings
Reply With Quote #2

...have you tried calling the Enable or Disable inputs on it instead of manually changing netprops?
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 02-13-2015 , 17:46   Re: [TF2] Problem with enabling buildings
Reply With Quote #3

Quote:
Originally Posted by Powerlord View Post
...have you tried calling the Enable or Disable inputs on it instead of manually changing netprops?
huh It did worked but the sentry getting enabled after getting disabled resets to level 1 was 3
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode