HELP WITH LUX ADMIN [FS] PLZ
#5

This is my full login system when someone joins, if it is part of what you are looking for maybe u can use it for your needs. Copied directly from my GM.

Код:
	if(udb_Exists(ReturnPlayerName(playerid)))
	{ //account exists
	    SendClientMessage(playerid, COLOR_TAI, "{ff0000}[Project X:RP v1.0.3A]   {dfebff}Welcome to Project X RolePlay!!");
		SendClientMessage(playerid,COLOR_MAIN,"{00ff00}[Server:] {dfebff} We'd like to welcome you back to the server. Have fun!");
		SendClientMessage(playerid,COLOR_MAIN,"{00ff00}[Server:] {dfebff} Please use the login box below to login, or use /login");
	    SendClientMessage(playerid,COLOR_MAIN,"{00ff00}[Server:] {dfebff} Welcome to Project X and enjoy your time here!");
        ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Login", "Welcome back\nInsert your password to login", "Login", "Cancel");
	}
	else
	{ //no account exists
	//basically this doesnt work right and it is just raping us, so im disabling the dialog box mkaayyy
	//i hate being spammed every time a n00b joins </3
	    SendClientMessage(playerid, COLOR_TAI, "{ff0000}[Project X:RP v1.0.3A]   {dfebff}Welcome to Project X RolePlay!!");
		SendClientMessage(playerid,COLOR_MAIN,"{00ff00}[Server:] {dfebff} Since you are new, please review the /help system to get started.");
	    SendClientMessage(playerid,COLOR_MAIN,"{00ff00}[Server:] {dfebff} Please use /register [password] to register your new account now.");
	    SendClientMessage(playerid,COLOR_MAIN,"{00ff00}[Server:] {dfebff} Welcome to Project X and enjoy your time here!");
		//ShowPlayerDialog(playerid,1, DIALOG_STYLE_INPUT, "Register", "Welcome To Project X RolePlay! \nPlease Register since you are new", "Register", "Cancel");
	}
Reply


Messages In This Thread
HELP WITH LUX ADMIN [FS] PLZ - by Iphone1234g - 25.06.2011, 04:38
Re: HELP WITH LUX ADMIN [FS] PLZ - by Sil3nc3 - 25.06.2011, 04:50
Re: HELP WITH LUX ADMIN [FS] PLZ - by Iphone1234g - 25.06.2011, 04:54
Re: HELP WITH LUX ADMIN [FS] PLZ - by Iphone1234g - 25.06.2011, 05:03
Re: HELP WITH LUX ADMIN [FS] PLZ - by Sil3nc3 - 25.06.2011, 05:52

Forum Jump:


Users browsing this thread: 1 Guest(s)