• Can't Assign Entity PlayerID
    2 replies, posted
Im trying to make it so the owner of the HoloProp's id is shown when someone looks at the HoloProp as if it was an actual player [Lua] AddCSLuaFile() //
Assuming you are referring to getting an error something along the lines of attempting to index a nil value, check that the .Entity variable is a valid entity (not nil). if IsValid(trace.Entity) and  trace.Entity:IsPlayer() then Otherwise be more descriptive about what your problem actually is (give the error).
There is no error i just dont see anything when I hover over the entity (that isnt supposed to be a player by the way) but it still assigns it to players
Sorry, you need to Log In to post a reply to this thread.