Jump to content

FPS weapons addon ChangeMap fix[solved]


awgsknite
 Share

Recommended Posts

I got this error saying that at 271 has a nil value when trying to change to a new level using the FPSweapons addon using the TriggerChangeMap.lua on an object to change levels

to fix it put this code to replace the code that dont work there:

 

put this here near that line 271 error in the fpsmeleeweapon.lua and then it works changing levels:

 

function Script:Release()

if self.emitter~= nil then

self.emitter[0]:Release()

--self.emitter[1]:Release()

end

self.emitter=nil

ReleaseTableObjects(self.sound)

end

 

it just needed the if not nil statement there that someone forgot to put in (fpsweapons addon)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...