• [question] multiple phases in Lua
    2 replies, posted
would it be possible to integrate something like phases/instances in Lua? like a specified player can see something and others cant? (not ClientsideModel, can't detect if you're shooting at it)
You can prevent certain entities from transmitting to certain players by calling [CODE]entity:SetPreventTransmit( ply, false ) [/CODE] [url]http://wiki.garrysmod.com/page/Controlling_Entity_Transmission[/url] might be what you are looking for? you create a serverside entity but prevent it being sent to certain players
[QUOTE=Arizard;45250928]You can prevent certain entities from transmitting to certain players by calling [CODE]entity:SetPreventTransmit( ply, false ) [/CODE] [url]http://wiki.garrysmod.com/page/Controlling_Entity_Transmission[/url] might be what you are looking for? you create a serverside entity but prevent it being sent to certain players[/QUOTE] cool, so this would only appear to one or two players? but it would still appear for players to be shooting at nothing lol
Sorry, you need to Log In to post a reply to this thread.