Rio Posted February 4, 2015 Share Posted February 4, 2015 Hola Guyz! Recently we started our server and its under dev. I require your help. When a player joins the sv, i dont want the sv to create a player before he logins. He should be visible in the server only after he logs in / registers. I have put a login panel but, wen i type certain keys which are dedicated to other resources, these resources pop out eg. tab key, the scoreboard pops out... how do i solve dis problem? plz help me....plz . Basically, the player should only see and have access to the login panel wen he joins my sv. Link to comment
Mr_Moose Posted February 4, 2015 Share Posted February 4, 2015 Disable whatever resource spawning the player after he join then, usually this is handled by a spawn manager or freeroam, try "stop play" in the console and reconnect, you should now see a black screen. Link to comment
Rio Posted February 4, 2015 Author Share Posted February 4, 2015 But I Want To Spawn Player Only After He Logs in. How do i do that? Link to comment
Mr_Moose Posted February 4, 2015 Share Posted February 4, 2015 Here's a simple one liner that does exactly that. addEventHandler("onPlayerLogin", root, function( ) spawnPlayer(source, x,y,z) end) Replace x,y and z with the coordinates you want to spawn the player at. 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