
Zitat von
BennyG
Lass mich raten, du hast die Think in der shared.lua
Ist doch klar dass der Owner nur Serverseitig ausgegeben wird.

Datei:
Code:
..\garrysmod\garrysmod\lua\weapons\gmod_tool\stools\testtool.lua
--Tools haben kein cl_init und init.lua!
Quelltext:
Code:
TOOL.Category = "Construction"
TOOL.Name = "test"
TOOL.Command = nil
TOOL.ConfigName = ""
function TOOL:Think()
if(SERVER) then MsgN(self.Owner) end --serverseitig
end
Console:
[...]
[NULL Entity]
[NULL Entity]
[NULL Entity]
[NULL Entity]
[NULL Entity]
[NULL Entity]
[NULL Entity]
[NULL Entity]
[NULL Entity]
[NULL Entity]
[...]