Et-win Posted January 9, 2013 Share Posted January 9, 2013 Hello, I wanted to create a Login Panel for if you join the server. But this I wanted to do: If you join the server, then BEFORE you joining the Game(mode) your camera will be set to a special target and then you need to login with a Login Panel, and after logging in, then you join the Game(mode) So my question is: Where I need to script that Login Panel so you can't join the game until you are logged in? (It's a Race Gamemode and I know how to script a Login Panel) Hope you guys understand it and sorry for my bad English Link to comment
abu5lf Posted January 9, 2013 Share Posted January 9, 2013 Search here: community.multitheftauto.com Or learn to make It: Scripting_Introduction Link to comment
Et-win Posted January 9, 2013 Author Share Posted January 9, 2013 Search here:community.multitheftauto.com Or learn to make It: Scripting_Introduction and I know how to script a Login Panel I don't mean the Login Panel by itself. I mean: Where I need to script that Login Panel so you can't join the game until you are logged in? Otherwise, I don't get what you mean. I shoudln't know how I need to find my answere there Link to comment
Castillo Posted January 9, 2013 Share Posted January 9, 2013 I'm not sure, but I think you would need to edit the race game mode itself to add a check so non logged players don't spawn. Link to comment
abu5lf Posted January 9, 2013 Share Posted January 9, 2013 You must use isGuestAccount to check if a player is logged in or not. Link to comment
Et-win Posted January 9, 2013 Author Share Posted January 9, 2013 You must use isGuestAccount to check if a player is logged in or not. Yes ok, thanks for that. But now I don't know where I need to script it so players won't able to join/play/spawned the gamemode until they logged in. Link to comment
Et-win Posted January 11, 2013 Author Share Posted January 11, 2013 I heard, if I want to script it how I wanted to, that you need to start the Login Panel as a gamemode and after logging in join the Race, but you will need to rescript Race if you want to let it work. If you join TG (TwistedGamers) or FFS (For F*** Sake) you get first a Login Panel and then you can chose what you want to join. Something like that I wanted. But I can't script it so I think I will just only make a Login Panel after joining Race, like normally. But thanks for the help anyway! 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