Server freezes
#1

Hello!

When i set some variable value to 0 / false, the server freezes. No more connections, no more player movements, no more chat messages, no more row on log, etc. The variable declarations:
Код:
new KitNez[MAX_PLAYERS];
new bool: ElsoBelepes[MAX_PLAYERS];
new bool: EloEmber[MAX_PLAYERS];
new bool: Meghalt[MAX_PLAYERS];
And the value setting:
Код:
	EloEmber[playerid] = true;
	Meghalt[playerid] = false;
	ElsoBelepes[playerid] = true;
	KitNez[playerid] = 0;
If I put this code under OnPlayerConnect callback, the server freezes when the first player connecting, it says connected joining the game, and writes into the log incoming connection: ... ,but that's all. Can anybody help please?
Thanks for advance.

PS: Sorry for my bad English.
Reply
#2

may you show us your OnPlayerConnect ?
Reply
#3

Problem fixed, it caused by NPCs.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)