Display logged in message
#1

Код:
	if(mPlayerCreate(playerid,params[0])) {
		format(string,sizeof(string),"You have successfully registered your username %s with the password %s",ReturnName(playerid),params);
		SendClientMessage(playerid,COLOUR_IVORY,string);
		format(string,sizeof(string),"** You must now login to your account with /login %s",params);
		SendClientMessage(playerid,COLOUR_RED,string);
	    new vps[186];
	    format(vps,sizeof(vps),"Player: ' %s ' Has registered to the server, We now have a total of '%d' registered users",ReturnName(playerid),mGetRegistered());
        SendClientMessageToAll(COLOUR_YELLOW,vps);
	}
	else {
		SendClientMessage(playerid,COLOUR_RED,"Error: There was an unknown error while trying to create your account, contact an /admins");
	}
	return 1;
}
I want it to say "You have been succesfully logged in" when a player does /login

Help please?
Reply


Messages In This Thread
Display logged in message - by mave_man - 13.01.2012, 11:00
Re: Display logged in message - by ScriptJorkis - 13.01.2012, 11:03
Re: Display logged in message - by JamesC - 13.01.2012, 11:04
Re: Display logged in message - by mave_man - 13.01.2012, 11:10

Forum Jump:


Users browsing this thread: 3 Guest(s)