Jump to content

[HELP] Problem with login system


Boris.

Recommended Posts

Posted

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

If I helped you, make sure you click the reaction button on the right to support me!
It will grant me more visibility and will help me to help others!

If you have any kind of request or subject you would like to discuss about with me,
don't hesitate to send me a private message about it!

 

Posted

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.

Posted (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 by Boris.
Posted

use onPlayerJoin then setElementData(source, "Player:Loggedin", false)

in votemanager somewhere before the render, use > if no getElementData(localPlayer, "Player:Loggedin") then return end

 

Posted
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)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...