• golden gun
    2 replies, posted
I have yet another question! I put in a modified version of a golden script i found on this version [url]https://www.dropbox.com/s/54dcqlqzdzm1dv0/goldengun.lua[/url] download for script^ whenever a detective kills another detective or inocent, he dies, but these lua errors are shown to the killer [ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136: attempt to call method 'Kill' (a nil value) 1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136 [ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136: attempt to call method 'Kill' (a nil value) 1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136 [ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136: attempt to call method 'Kill' (a nil value) 1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136 this error is given to the victim [ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:131: attempt to call method 'IsRole' (a nil value) 1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:131 [ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:131: attempt to call method 'IsRole' (a nil value) 1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:131 [ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:131: attempt to call method 'IsRole' (a nil value) 1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:131 When a traitor is shot, he dies and a song is supposed to play. It only plays for the victim's client. no one else. these errors are also given to the killer [ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136: attempt to call method 'Kill' (a nil value) 1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136 [ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136: attempt to call method 'Kill' (a nil value) 1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136 [ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136: attempt to call method 'Kill' (a nil value) 1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136 [ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136: attempt to call method 'Kill' (a nil value) 1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136 [ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136: attempt to call method 'Kill' (a nil value) 1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_goldgun/shared.lua:136 the victim gets no errors
Before self.Owner:Kill() do [lua]if ( SERVER ) then self.Owner:Kill(); end[/lua]
Thank you very much, you are a saint...
Sorry, you need to Log In to post a reply to this thread.