![]() |
Problem With Right Click Gui
Basically im trying to make a menu for when you right click players.
it all works except when you click open profile its seems to select the wrong player. this is the part of the script thats producing the error. if someone could please take a look at it it would be appriciated. its somthing to do with findNearestPlayers(mousex, mousey) also is there a way to make the scroll grey without making the text grey? PHP Code:
|
Quote:
PHP Code:
Quote:
PHP Code:
http://img8.imageshack.us/img8/9549/guibluescroll.png So, you can just edit it to create your own. |
Quote:
PHP Code:
PHP Code:
The former will probably work, though. The issue that's preventing it from working is that you're not checking if the player is actually at the mouse coordinates. |
i was doing a check before hand in the script but i didnt post that part because i didnt think it was neccesary seeming there were no errors with the opening of the gui.
@0PIX0 and @cbk1994 but is there any way to change the selected row colour? the box is now grey but when you click one it selects as blue. |
You should learn about GuiControlProfiles.
PHP Code:
|
Thanks @0PiX0 iv managed to do it with your help.
I never knew such a command existed. |
All times are GMT +2. The time now is 09:56 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.