Jump to content

Koella

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Koella

  1. Okay thanks for the replies I'm gonna try and make it clientside then, but I hope this issue will get fixed soon xP
  2. Hello everyone I am trying to make a global timer that checks every vehicle on the server every 10 seconds and despawns every vehicle that is in water and not a boat. I have a little problem with this part of the code: if isElementInWater(vehicle) then outputChatBox("you shouldn't despawn!") if checkBoat == false then destroyElement(vehicle) end else outputChatBox("much better") end My problem is, that, while I am sitting in the vehicle, I get the message "much better" every 10 seconds. BUT, if I stand outside of the vehicle (no player is in it anymore!), the message "you shouldn't despawn" appears when the timer triggers and the vehicle despawns (the vehicle is still on the street, not in water !) It doesn't make any sense to me why the outcome of "isElementInWater" would change if there's a player in the car or not. I can only explain it to myself by saying that the function itself is bugged. Thanks in advance for the help, Koella
  3. We looked at the code of the GUIEditor resource and looked at how they got the button in their window titlebar. Afterwards we were able to make our own little "Close" button in the titlebar, at the top right corner of the window
  4. Thanks for your reply Max+, you actually helped us fix another little bug we had with our GUI We think we also have a solution for the initial problem, we will test it out, and I will edit the results into this post if it works out ^^ Thanks again for all your replies, guys xP
  5. Well that's not really an useful comment... I wouldn't have posted in here if I could find something in the wiki... Searched it long enough
  6. Yes, but to use that I would need to create an own "close" button, which I would not be able to place in the top right corner of the window. And I'd love to not have a big "close" button in the mid of my GUI window ^^ I'd really prefer having a little "x" somewhere where it doesn't disturb. xP
  7. Hello I am creating a GUI at the moment, but I kinda don't want to add a big close button. I'd much rather have a little "x" at the top right corner. I've tried achieving that with the property "CloseButtonEnabled", but it didn't work for me. Any ideas how I could still get the "x"-button, even if the property doesn't work accordingly? Or does the property work and I'm just not using it correctly? I'm using the function like this: guiSetProperty(wdwGUIWindow, CloseButtonEnabled, true) Thanks in advance - Koella
×
×
  • Create New...