error 001: expected token: ";", but found "public"
#1

error 001: expected token: ";", but found "public" Please Help Me

Heres where the code Is wrong

Код:
public SendMSG()
{
    new randMSG = random(sizeof(RandomMSG));
    SendClientMessageToAll(0x9900FFAA, RandomMSG[randMSG]); 
	return 1;
}
Reply
#2

In the previous line is missing a semicolon.
Reply
#3

Might be just me but I think there's something wrong with the code above it.
Reply
#4

Show us the code above that code if you still get the error.
Reply
#5

Got It was the previous Line. It was suppose to be

}; Not just }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)