mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
46
gamemodes/base/gamemode/gravitygun.lua
Normal file
46
gamemodes/base/gamemode/gravitygun.lua
Normal file
@@ -0,0 +1,46 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
Name: gamemode:GravGunPunt()
|
||||
Desc: We're about to punt an entity (primary fire).
|
||||
Return true if we're allowed to.
|
||||
-----------------------------------------------------------]]
|
||||
function GM:GravGunPunt( ply, ent )
|
||||
return true
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
Name: gamemode:GravGunPickupAllowed()
|
||||
Desc: Return true if we're allowed to pickup entity
|
||||
-----------------------------------------------------------]]
|
||||
function GM:GravGunPickupAllowed( ply, ent )
|
||||
return true
|
||||
end
|
||||
|
||||
if ( SERVER ) then
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
Name: gamemode:GravGunOnPickedUp()
|
||||
Desc: The entity has been picked up
|
||||
-----------------------------------------------------------]]
|
||||
function GM:GravGunOnPickedUp( ply, ent )
|
||||
end
|
||||
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
Name: gamemode:GravGunOnDropped()
|
||||
Desc: The entity has been dropped
|
||||
-----------------------------------------------------------]]
|
||||
function GM:GravGunOnDropped( ply, ent )
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user