rBits: error 001: unexpected token
#1

Код:
player/data.pwn(12) : warning 213: tag mismatch
Error line:
Код:
rBit1_Set(Session[i], playerid, 0);
Whole function:

Код:
forward ReloadSession(playerid);
public ReloadSession(playerid) {
	for(new i = 0; i < sizeof(Session); i++) {
		rBit1_Set(Session[i], playerid, 0);
	}
	return 1;
}
Session declaration and the enum

Код:
enum E_SESSION_DATA {
	sSpawned,
	sLoggedIn
};

new 
	rBit1: Session[E_SESSION_DATA]<MAX_PLAYERS>
Reply


Messages In This Thread
rBits: tag mismatch - by venomlivno8 - 30.06.2018, 23:06
Re: rBits: error 001: unexpected token - by JasonRiggs - 01.07.2018, 00:19
Re: rBits: error 001: unexpected token - by Akeem - 01.07.2018, 01:53

Forum Jump:


Users browsing this thread: 1 Guest(s)