Boris. Posted July 6, 2018 Share Posted July 6, 2018 Hi. Im downloaded and add this login system on my server https://twisted-gamers.net/forums/topic/9742-scriptfree-login-panel-for-mta-version-10-by-dapie/ Server automatic, when player join show this login menu, and problem is - server shows vote manager, and count of start races. How I can disable showing count and other before login or register? Link to comment
Galactix Posted July 7, 2018 Share Posted July 7, 2018 Use the /stop [resourcename] command and also you have to remove the resources that you don't want at server start in the mtaserver.conf Link to comment
Boris. Posted July 7, 2018 Author Share Posted July 7, 2018 You dont understand me, I want this resources, but not in this time. This is not when server turn on, this is when one player join on server. Link to comment
Mr.Loki Posted July 7, 2018 Share Posted July 7, 2018 You will need to edit the votemanager to check if the player is logged in before showing the voting menu. Link to comment
Boris. Posted July 7, 2018 Author Share Posted July 7, 2018 (edited) 1 hour ago, Mr.Loki said: You will need to edit the votemanager to check if the player is logged in before showing the voting menu. Aha okay. How looking this function, this if? edit: aha isGuestAccount? Classic problem, when player join on server, If server is empty showing vote system and changing race. Retarded. When player join every time showing vote system. Im try put if is guest account, and after this never show vote system Edited July 7, 2018 by Boris. Link to comment
itHyperoX Posted July 7, 2018 Share Posted July 7, 2018 use onPlayerJoin then setElementData(source, "Player:Loggedin", false) in votemanager somewhere before the render, use > if no getElementData(localPlayer, "Player:Loggedin") then return end Link to comment
Boris. Posted July 9, 2018 Author Share Posted July 9, 2018 On 7/7/2018 at 23:21, TheMOG said: use onPlayerJoin then setElementData(source, "Player:Loggedin", false) in votemanager somewhere before the render, use > if no getElementData(localPlayer, "Player:Loggedin") then return end I dont understand... Where I need use it? First, and second... Problem is with that, I cant find where is function for showing vote menu When I come on server, send message curently play - map. And In this time when sever is empty, stop this map and show vote menu. How disable this stop map, and only spawn in this race? And without vote(im ask that) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now