Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9e1bab2

Browse filesBrowse files
committed
Minor cleanup
1 parent 9555e15 commit 9e1bab2
Copy full SHA for 9e1bab2

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎garrysmod/gamemodes/sandbox/gamemode/commands.lua

Copy file name to clipboardExpand all lines: garrysmod/gamemodes/sandbox/gamemode/commands.lua
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ function Spawn_NPC( ply, NPCClassName, WeaponName, tr )
615615
ply:SendLua( "achievements.SpawnedNPC()" )
616616

617617
return SpawnedNPC
618+
618619
end
619620
concommand.Add( "gmod_spawnnpc", function( ply, cmd, args ) Spawn_NPC( ply, args[ 1 ], args[ 2 ] ) end )
620621

@@ -899,6 +900,7 @@ function Spawn_SENT( ply, EntityName, tr )
899900
entity:SetVar( "Player", ply )
900901

901902
return entity
903+
902904
end
903905
concommand.Add( "gm_spawnsent", function( ply, cmd, args ) Spawn_SENT( ply, args[ 1 ] ) end )
904906

@@ -1002,6 +1004,7 @@ function Spawn_Weapon( ply, wepname, tr )
10021004
gamemode.Call( "PlayerSpawnedSWEP", ply, entity )
10031005

10041006
return entity
1007+
10051008
end
10061009
concommand.Add( "gm_spawnswep", function( ply, cmd, args ) Spawn_Weapon( ply, args[1] ) end )
10071010

@@ -1129,6 +1132,7 @@ function Spawn_Vehicle( ply, vname, tr )
11291132
ply:AddCleanup( "vehicles", Ent )
11301133

11311134
return Ent
1135+
11321136
end
11331137
concommand.Add( "gm_spawnvehicle", function( ply, cmd, args ) Spawn_Vehicle( ply, args[1] ) end )
11341138

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.