08.05.2012, 10:22
pawn Код:
error 036: empty statement
pawn Код:
new room;
sscanf(inputtext, "d", room);
if(room < 1 || room > MAX_ROOMS);
{
format(string, sizeof(string), "You selected %s Rooms", room);
}
Код:
if(room < 1 || room > MAX_ROOMS);
pawn Код:
error 036: empty statement
pawn Код:
if(room > 1 || room < MAX_ROOMS);
{
format(string, sizeof(string), "Please select a value of rooms between 1 and %s", MAX_ROOMS);
}
The error is also on this line:
Код:
if(room > 1 || room < MAX_ROOMS);