Open ash47 opened 11 years ago
With no buyback, there is a cooldown:
If you look for any addon which has a playerManager, you can probably set
playerManager.netprops.m_flBuybackCooldownTime[playerID] = 360000;
You may also have to set m_iLastBuybackTime
(I didn't test this)
As far as teleporting out to t2 tower, you could either add -teleport (or a similar command)
Or, when a player spawns, give them a tp scroll, and set item.netprops.m_fCooldown = 0;
Or, something along those lines :package:
m_iLastBuybackTime m_flBuybackCooldownTime i already try to set this varible, but all vainly
With no buyback, there is a cooldown:
If you look for any addon which has a playerManager, you can probably set
playerManager.netprops.m_flBuybackCooldownTime[playerID] = 360000;
You may also have to set m_iLastBuybackTime
(I didn't test this)
As far as teleporting out to t2 tower, you could either add -teleport (or a similar command)
Or, when a player spawns, give them a tp scroll, and set item.netprops.m_fCooldown = 0;
Or, something along those lines :package: