Server Crashing
#7

I think it must be this coding as it crashes when reciving the paycheck...
Код:
		if(playerTabbed[i] == 0) {
			switch(PlayerInfo[i][pLevel]) {
				case 0 .. 2: PlayerInfo[i][pPayCheck] += 1;
				case 3 .. 4: PlayerInfo[i][pPayCheck] += 2;
				case 5 .. 6: PlayerInfo[i][pPayCheck] += 3;
				case 7 .. 8: PlayerInfo[i][pPayCheck] += 4;
				case 9 .. 10: PlayerInfo[i][pPayCheck] += 5;
				case 11 .. 12: PlayerInfo[i][pPayCheck] += 6;
				case 13 .. 14: PlayerInfo[i][pPayCheck] += 7;
				case 15 .. 16: PlayerInfo[i][pPayCheck] += 8;
				case 17 .. 18: PlayerInfo[i][pPayCheck] += 9;
				case 19 .. 20: PlayerInfo[i][pPayCheck] += 10;
				default: PlayerInfo[i][pPayCheck] += 11;
			}
			if(++PlayerInfo[i][pConnectSeconds] >= 3600) {
				PayDay(i);
			}
		}
Reply


Messages In This Thread
Server Crashing - by Zloobe - 04.08.2013, 18:24
Re: Server Crashing - by DrDoom151 - 04.08.2013, 18:36
Re: Server Crashing - by Zloobe - 04.08.2013, 18:38
Re: Server Crashing - by DrDoom151 - 04.08.2013, 18:39
Re: Server Crashing - by Zloobe - 04.08.2013, 18:55
Re: Server Crashing - by DrDoom151 - 04.08.2013, 18:59
Re: Server Crashing - by Zloobe - 04.08.2013, 19:08
Re: Server Crashing - by DrDoom151 - 04.08.2013, 19:15
Re: Server Crashing - by Zloobe - 04.08.2013, 19:27
Re: Server Crashing - by DrDoom151 - 04.08.2013, 19:32

Forum Jump:


Users browsing this thread: 1 Guest(s)