function donate()
local DermaPanel = vgui.Create( "DFrame" )
DermaPanel:SetPos( 100, 100 )
DermaPanel:SetSize( 300, 200 )
DermaPanel:SetTitle( "My new Derma frame" )
DermaPanel:SetDraggable( true )
DermaPanel:MakePopup()
end
concommand.Add("donate", dtest)
How add a chat command ???
For chat commands, look at the examples for [URL="https://wiki.garrysmod.com/page/GM/PlayerSay"]PlayerSay[/URL].
Sorry, you need to Log In to post a reply to this thread.