Advertisement
deathward

Untitled

Jan 19th, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1.         net.WriteUInt(ent:EntIndex(), 20)
  2.  
  3.         local owner = ent:CPPIGetOwner()
  4.         net.WriteUInt(IsValid(owner) and owner:EntIndex() or -1, 20)
  5.         net.WriteUInt(ent.FPPRestrictConstraint and ent.FPPRestrictConstraint[ply] or ent.FPPCanTouch[ply], 4) -- touchability information
  6.         net.WriteUInt(ent.FPPConstraintReasons and ent.FPPConstraintReasons[ply] or ent.FPPCanTouchWhy[ply], 4) -- reasons
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement