Category | Scripting |
Created | 28.10.2019 20:19 |
Christian Wick (iamchriswick) | 28.10.2019 20:19 |
---|---|
Whats the correct way to write: if multiplayer then //do stuff else //local game end Trying to modify FastNight to work in multiplayer and so that only admins can control it. |
Bilbo Beutlin (BBeutlin) | 28.10.2019 21:58 |
---|---|
There's a flag "g_currentMission.missionDynamicInfo.isMultiplayer" (boolean true|false). In this case is probably more suitable to check "g_currentMission.isMasterUser" for player rights. |
Note: Log in to post. Create a new account here.