Quote
Exacly
lightning = {} onJoin = function(id) lightning[id] = 0 reqcld(id,3) end onClientData = function(id,mode,d1,d2) if mode == 3 then if d1 == 0 then lightning[id] = 0 else lightning[id] = 1 end end end onTeam = function(id,team) reqcld(id,3) if lightning[id] == 0 then msg2(id,"Please enable your lightning settings (options -> graphics).") return 1 end end addhook("clientdata","onClientData") addhook("team","onTeam") addhook("join","onJoin")