Jump to content

Login Panel before Gamemode starts


Et-win

Recommended Posts

Posted

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 :P

Posted

Search here:

community.multitheftauto.com

Or learn to make It:

Scripting_Introduction

╔═╦╦╦╗╔╦═╦═╦═╦═╦╦╦╦╦╦╦═╦╦╦╦╗

║║║║║╠╝║║╚╣║║║║║║║║║║║║║║║║║

║║║║║╚╦╦═╦╦╦╦╣║║║║║║║║║║║║║║

║║║║╠═╣╠╝╔══╝║║║║║╟╢║║║║║╟╢║

╚╩══╩══╩═╩═══╩╩══╩╩═╩╩╩═╩╩═╝

«سبحانك اللهم وبحمدك أشهد أن لا إله إلا أنت أستغفرك وأتوب إليك»

M7mdAl7arthy : لتواصل سكايب

Posted
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

Posted

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.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

You must use isGuestAccount to check if a player is logged in or not.

╔═╦╦╦╗╔╦═╦═╦═╦═╦╦╦╦╦╦╦═╦╦╦╦╗

║║║║║╠╝║║╚╣║║║║║║║║║║║║║║║║║

║║║║║╚╦╦═╦╦╦╦╣║║║║║║║║║║║║║║

║║║║╠═╣╠╝╔══╝║║║║║╟╢║║║║║╟╢║

╚╩══╩══╩═╩═══╩╩══╩╩═╩╩╩═╩╩═╝

«سبحانك اللهم وبحمدك أشهد أن لا إله إلا أنت أستغفرك وأتوب إليك»

M7mdAl7arthy : لتواصل سكايب

Posted

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! :)

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