• Derma Panels on car
    1 replies, posted
I want make Derma only open in vehicles whit commands. [highlight](User was banned for this post ("Wrong section again please USE DEVELOPER DISCUSSION FOR GMOD HELP" - Kiwi))[/highlight]
Not tested but should work [B]Serverside[/B] [CODE] util.AddNetworkString( "VehicleMenu" ) hook.Add( "PlayerSay", "Killurself", function( ply, text, public ) text = string.lower( text ) if ( !ply:InVehicle() ) then return "" end if ( text == "!vehmenu" ) then net.Start("VehicleMenu") net.Send(ply) return "" end end ) [/CODE] [B]Clientside[/B] [CODE] net.Receive( "VehicleMenu", function( len, ply ) -- Your Derma Menu end ) [/CODE] Next time post it in here [url]https://facepunch.com/forums/65[/url]
Sorry, you need to Log In to post a reply to this thread.