Jump to content

[HELP] Problem with login system


Boris.

Recommended Posts

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.
Link to comment
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

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...