• How can I get Entity in my hands?
    1 replies, posted
When I hold a weapon HoldGun = ply:holdweapon() -- Get Entity in my hands HoldGun:SetMaterial("Models/effects/splodearc_sheet") then SetMaterial ply's weapon but other's weapon won't SetMaterial Sorry about my English is poor.. but Please help me.
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Player/GetActiveWeapon]Player:GetActiveWeapon[/url] or [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Player/GetViewModel]Player:GetViewModel[/url]
Sorry, you need to Log In to post a reply to this thread.