Entity.SetNetworkedAngle

From GMod Wiki

Revision as of 16:04, 5 August 2010 by XThaWolfx (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Entity:SetNetworkedAngle( Var index, Angle value )
Description:
Sets a networked Angle in this entity with the given index to the given value.
Returns: nil
In Object: Entity
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.SetNetworkedAngle]Entity.SetNetworkedAngle [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSet the networked angle to its own angles.
Used onNewerServer.png
Code
for k,v in pairs(ents.FindByClass("prop_physics")) do
v:SetNetworkedAngle("MyOwnAngles",v:GetAngles())
end 
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox