• Player ID detector ?
    2 replies, posted
So, I making adventure maps in gmod. I want to make cutscenes in multiplayer but it's a little problem. Point entity point_viewcontrol It does not work on multiplayer. Example: If Player 1 and Player 2 use (camera1); Player 1 gets stuck in a view but for Player 2 it works properly. Also I would like to do teleports assigned to a player: Example: Only "Player 1" can use "teleport 1", Only "Player 2" can use "teleport 2".... My question is: 1.It is possible to make lua code like: "If Player 1 Connection Id 0 then use Camera 1", "If Player 2 Connection Id 1 then use Camera 2"... ? 2.It is possible to make lua code like: "If Player use trigger (trigger_once) from the map then run events ? My mechanism: [IMG]http://i.imgur.com/2iLSDqT.png[/IMG] [IMG]http://i.imgur.com/jPANUAr.png[/IMG] [IMG]https://i.imgur.com/jRsGcDq.png[/IMG] [IMG]https://i.imgur.com/szAFjBK.png[/IMG] PS: Sorry for my English :P
You cannot set maxplayers after a map has been loaded.
Yes, but this is only for triggers. When Player touch the trigger_once (teleport player 1 lobby) add counter maxplayers +1. On start map you can select 1-4 counters if you set 1 then you touch the trigger cutscene start. But i want to make ID detector for that.
Sorry, you need to Log In to post a reply to this thread.