Jump to content
SSForum.net is back!

Recommended Posts

Posted

ok i am editing a plugin which is already using all 4 of the countdowns but i need more countdowns what do i need to edit to make it happen?

 

Spawn.h:

public:
botInfo(CALL_HANDLE given)
{
	handle = given;
	callback = 0;
	playerlist = 0;
	flaglist = 0;
	map = 0;
	countdown[0] = 100;
	countdown[1] = 10;
	countdown[2] = 300;
	countdown[3] = 300;
	CONNECTION_DENIED = false;
	me = 0;
	biller_online = true;
}

 

Spawn.cpp:

for (int i = 0; i < 4; ++i)
--countdown[i];

Posted

I didnt do much bots, but I remember reading about that, i'm pretty sure you can just redefine the size of the countdown array, or change its size wherever it is already defined

cant tell you more

Posted
Yup. Change those two places (add a line to first and change the 4 in second) and there's also a third place somewhere in spawn.h that needs the 4 changed.
Guest
This topic is now closed to further replies.
×
×
  • Create New...