Category | Scripting |
Created | 14.04.2017 09:27 |
Andre Nierhaus (Dimer24) | 14.04.2017 09:28 |
---|---|
Hello I would like to check the value of "seperate account" with a script. Unfortunately I can not find the entry in the game. I've searched under g_currentMission and found nothing, is that the wrong place? Where can I find this value? Many Thanks |
Emil Drefers (Unknown) | 18.04.2017 06:59 |
---|---|
Hi, some hints: local user = g_currentMission:findUserByUserId(userId); print(" user.money = "..tostring(user.money)) or for _, user in ipairs(g_currentMission.users) do print(" user.money = "..tostring(user.money)) end Cheers, Emil |
Andre Nierhaus (Dimer24) | 20.04.2017 20:42 |
---|---|
Hi I dit found the Value if g_currentMission.clientPermissionSettings.ownMoney == true then print (" Jeder Spieler hat sein eigenes Geld") else print (" Es gibt fuer alle Spieler nur ein Konto") end; Now i can try to go on, thanks Cheers Dimer24 |
Note: Log in to post. Create a new account here.