• derma spawn icon
    15 replies, posted
How do i make a spawn icon non clickable? my code so far [code] local SpawnIcon1 = vgui.Create('SpawnIcon') SpawnIcon1:SetPos(191, 216) SpawnIcon1:SetModel('models/police.mld') [/code]
Stop making more damn threads, you just asked this question in your other thread.
"SpawnIcon1:SetModel('models/police.[B]mld[/B]')" :frog:
[QUOTE=Maskedmayhem;28122346]Stop making more damn threads, you just asked this question in your other thread.[/QUOTE] No i didnt [editline]18th February 2011[/editline] [QUOTE=blown25;28122372]"SpawnIcon1:SetModel('models/police.[B]mld[/B]')" :frog:[/QUOTE] i got that already. But how do i make it unclickable. Like when you hover ur cursor over it it dosnt show that blue thing and you cant click it. [editline]18th February 2011[/editline] Im trying to make this. [img]http://dl.dropbox.com/u/3663944/screens/SS-2010-09-19_12.05.42.png[/img]
[LUA] SpawnIcon1.OnCursorEntered = function() return false end [/LUa]
You have made 24 threads, all with small, pretty easy questions - for the love of god, just make one and ask all your questions there. If you think of more questions, then Edit the OP. Please.
Or try asking your questions in the "What do you need help with?" thread. [url]http://www.facepunch.com/threads/931152-What-do-you-need-help-with-V1[/url]
[QUOTE=blown25;28122780][LUA] SpawnIcon1.OnCursorEntered = function() return false end [/LUa][/QUOTE] IsDown() would probably serve you better here.
[QUOTE=Chocolate Unit;28134721]IsDown() would probably serve you better here.[/QUOTE] but that is what the wiki said.
[QUOTE=blown25;28122780][LUA] SpawnIcon1.OnCursorEntered = function() return false end [/LUa][/QUOTE] do what he said and also do this : [LUA] SpawnIcon1.OnMousePressed = function() return false end [/LUa] blown25's code will disable the hover effect, but you said you didn't want it to run an effect when they click on it so your going to need to return false on the press function as well.
[QUOTE=BananasRP;28122378]No i didnt [editline]18th February 2011[/editline] i got that already. But how do i make it unclickable. Like when you hover ur cursor over it it dosnt show that blue thing and you cant click it. [editline]18th February 2011[/editline] Im trying to make this. [img_thumb]http://dl.dropbox.com/u/3663944/screens/SS-2010-09-19_12.05.42.png[/img_thumb][/QUOTE] You should make the panel around the join police button shorter
[QUOTE=Chocolate Unit;28157440]You should make the panel around the join police button shorter[/QUOTE] And that helped him with this subject how?
[QUOTE=Chocolate Unit;28157440]You should make the panel around the join police button shorter[/QUOTE] It's quite obvious that it isn't his, when he states that he is trying to make it.
Bananas, you should start making your "All my questions thread" instead of making 24 small threats?
[QUOTE=Persious;28166207]Bananas, you should start making your "All my questions thread" instead of making 24 small threats?[/QUOTE] he is [sp]10 years old[/sp] i dont think he gets that
Yeah, but I will take the risk.
Sorry, you need to Log In to post a reply to this thread.