... isnt simple
Hi there,
i've set an entity of the simple_button in my room.
 Unbenannt.JPG
  Unbenannt.JPG (Size: 180.64 KB / Downloads: 299)
And some simple code to test.
void Button1Func(string &in entity, string &in type)
{
    AddPlayerBodyForce(20000,0,0,true);
}
void OnStart()
{
    SetEntityActive( "button_simple_1",true);
    SetEntityConnectionStateChangeCallback("button_simple_1", "Button1Func");
    SetEntityInteractionDisabled("button_simple_1", false);
    
}
My problem that the Button isn't usable, i mean the "Useicon" doesn't appear, so i cant test my code.
I thought, at least i could press the button, because its a button...
... but that isn't
 
Tips and Hints are welcome as always