Skip to content

Commit

Permalink
Drag and drop as a seperate gamemode support
Browse files Browse the repository at this point in the history
  • Loading branch information
timmybo5 committed Jun 5, 2021
1 parent 1adab3c commit 1f9aefc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .addon
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "simple-weapon-base",
"sharedassets": "*.*",

"depends":
[
"base",
"citizen",
"rust"
],

"gamemodes":
[
{
"name": "simple-weapon-base",
"title": "Simple Weapon Base"
}
]
}
2 changes: 1 addition & 1 deletion code/ExampleGame.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Sandbox;

[Library( "gamemode_name" )]
[Library("simple-weapon-base")]
public partial class ExampleGame : Sandbox.Game
{
public ExampleGame()
Expand Down
1 change: 0 additions & 1 deletion code/ExamplePlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ public override void Respawn()
GiveAmmo( AmmoType.Shotgun, 60 );

SupressPickupNotices = false;

}
}

0 comments on commit 1f9aefc

Please sign in to comment.