i want to check if the left button is pressed , and when its pressed down i want a text to appear. Now this is the small piece of code :
class MyEventReceiver : public IEventReceiver
{
public:
virtual bool OnEvent(SEvent event) {
if (event.MouseInput.Event == EMIE_LMOUSE_PRESSED_DOWN)
blntext = true;
}};
It won't compile, the error is at blntext= true;
and yes i declared the boolean.
Sorry for my noobness , but i'm learning