function onUse(self, msg) print "in onUse" if (msg.user ~= nil) then if msg.user:GetPossessedObject().possessedObject:GetID() ~= self:GetID() then print "Vroooom!" msg.user:PrepareForPossession{ objToPossess = self } end else print "user is nil" end end function onChangePossession(self,msg) if GAMEOBJ:GetZoneControlID():GetVar("Set.GameType") ~= nil then self:VehicleLockInput{bLockWheels = true} end end function onNotifyObject(self,msg) if msg.name == "updateCarNumber" then self:NotifyClientObject{ name = "updateCarNumber" , param1 = StartPos } end end