Raised This Month: $ Target: $400
 0% 

Temporarily Disable Respawn Lockers


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 12-22-2009 , 19:08   Temporarily Disable Respawn Lockers
Reply With Quote #1

This code use to work but after the class update it doesnt and was wondering if there is a way to get respawn lockers to disable then re-enable again.

Code:
DisableResupply() {
    new iRegenerate = -1;
    while ((iRegenerate = FindEntityByClassname(iRegenerate, "func_regenerate")) != -1)
        AcceptEntityInput(iRegenerate, "Disable");
}
__________________

DontWannaName is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 12-26-2009 , 04:46   Re: Temporarily Disable Respawn Lockers
Reply With Quote #2

I have tried using different inputs to the entity but none are working. Perhaps valve broke func_regenerate. I have tried with SM 1.3 and 1.2, there is a significant gamedata size difference between the gamedata on the update server and the gamedata on 1.3.
__________________

DontWannaName is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 12-26-2009 , 20:32   Re: Temporarily Disable Respawn Lockers
Reply With Quote #3

Fixed this by using the latest SM 1.3 snapshot and MM 1.8 release. 1.2 and 1.7 didnt work for some reason.
__________________

DontWannaName 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 07:25.


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