Code: Select all
for i,d in pairs(game.players) do
if d and d.valid then
if d.charactor then
if d.charactor.valid then
F(i,d)
end
end
end
end
Code: Select all
for i,d in pairs(game.players) do
if d and d.valid then
if d.charactor then
if d.charactor.valid then
F(i,d)
end
end
end
end
Oh your right, I missed that typo... Sorry everybody My badkeyboardhack wrote:It's d.character instead of d.charactor
https://forums.factorio.com/wiki/inde ... /Character