Further progress, package pickup is now working...

This commit is contained in:
svenvandevelde
2016-01-29 00:50:19 +01:00
parent 7e098b050e
commit 2f7e3ffb76
3 changed files with 67 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ CLIENT = {
-- Mission:AddClient( CLIENT:New( 'RU MI-8MTV2*RAMP-Deploy Troops 4' ):Transport() )
function CLIENT:New( ClientName, ClientBriefing )
trace.f(self.ClassName)
trace.f( self.ClassName, { ClientName, ClientBriefing } )
-- Arrange meta tables
local self = BASE:Inherit( self, BASE:New() )
@@ -184,7 +184,7 @@ end
-- @tparam string Cargo is the @{CARGO}.
-- @treturn CLIENT
function CLIENT:AddCargo( Cargo )
trace.f(self.ClassName, { Cargo } )
trace.f(self.ClassName, { Cargo.CargoName } )
local Valid = true
@@ -201,7 +201,7 @@ end
-- @tparam string CargoName is the name of the @{CARGO}.
-- @treturn Cargo
function CLIENT:RemoveCargo( Cargo )
trace.f(self.ClassName )
trace.f(self.ClassName, { Cargo.CargoName } )
local Valid = true