Help please, foreach bug.
#1

Hey, i have this script: http://pastebin.com/PMis0BAf

Everything works fine, but when the gamemode restarts, i have this foreach error:

Код:
SERVER LOG:

[19:51:29] foreach error: Something went wrong again! Please tell ******
[19:51:29] -1
[19:51:29] 0
[19:51:29] -1
[19:51:29] 0
[19:51:29] 3
[19:51:29] 1
And after the gamemode restarted, i can't spawn! I press the button "Spawn" and nothing happens!

Extra code (My OnGameModeInit):

Код:
public OnGameModeInit()
{
	// Audio
	Audio_SetPack("default_pack", true);
	SetTimer("randAudio", 10000, true);

	SendRconCommand("reloadfs Z"); // The FS that was pasted on pastebin
	SetGameModeText("Test Server");
	AddPlayerClass(0, 1673.3588867188, -1376.3424072266, 84.062004089355, 0.0, 0, 0, 0, 0, 0, 0);
	return 1;
}
If anyone can help, please help, I really want it to get ready
Reply


Messages In This Thread
Help please, foreach bug. - by Hot - 07.03.2010, 15:50
Re: Help please, foreach bug. - by Correlli - 07.03.2010, 15:51
Re: Help please, foreach bug. - by Hot - 07.03.2010, 15:52
Re: Help please, foreach bug. - by Correlli - 07.03.2010, 15:53
Re: Help please, foreach bug. - by Hot - 07.03.2010, 15:56
Re: Help please, foreach bug. - by Correlli - 07.03.2010, 16:01
Re: Help please, foreach bug. - by Hot - 07.03.2010, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)