You can only call GUI from inside OnGui

@Maxi_Hraschan

Hi - Not many are going to click, download and open some attachment, just put your code here in your post as code block. See this sub-forum’s pinned post for how to use code tags: