• opening a players profile via derma menu
    2 replies, posted
Hey guys.. Was messing around with some derma stuff and wanted to know how to open a certain players profile. I couldn't find anything looking through the player category on the wiki. Can someone point me in the right direction here? Here is what im working with in just in case. Thanks in advance. [CODE] local icon = vgui.Create( "AvatarImage", Panel ) icon:SetSize( 32, 32 ) icon:SetPos( 5, 9 ) icon:SetPlayer( LocalPlayer(), 32 ) icon.DoClick = function() -- OPEN THE PLAYER PROFILE CODE HERE end [/CODE]
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Player/ShowProfile]Player:ShowProfile[/url]
[QUOTE=man with hat;50800355][img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Player/ShowProfile]Player:ShowProfile[/url][/QUOTE] I dont know how I didnt even see that.. Thanks none the less
Sorry, you need to Log In to post a reply to this thread.