Jump to content

Recommended Posts

Posted

Salut. Am un dialog de schimbare a numelui si am incercat sa-l fac sa fie in limba romana si engleza dar nu reusesc. Ma poate ajuta cineva?

		case DIALOG_NEWNICK:
	    {
	        if(!response) return KickEx(playerid);
            //------------------------------------------------------------------
			new szName[24];
			//------------------------------------------------------------------
			if(sscanf(inputtext, "s[24]", szName)) return ShowPlayerDialog(playerid, DIALOG_NEWNICK, DIALOG_STYLE_INPUT, "Change Nickname", "{FF0000}ERROR - Invalid name.\n\n{FFCC00}Insert you new name.\n{FFFFFF}Your name must contain between 3 and 20 characters and need to be unique!\nAvoid simple names like Ionut, Amir, Razvan etc.\n\n{FF0000}New nick name:", "Continue", "Quit");
			if(strlen(szName) < 3 || strlen(szName) > 24) return ShowPlayerDialog(playerid, DIALOG_NEWNICK, DIALOG_STYLE_INPUT, "Schimbare de nume", "{FF0000}EROARE - Nume invalid.\n\n{FFCC00}Introdu noul tau nume.\n{FFFFFF}Ai grija ca numele sa contina intre 3 si 20 de carcatere si sa fie cat mai unic!\nEvitati numele simplu de genul Ionut, Amir, Razvan etc.\n\n{FF0000}Numele nou:", "Continue", "Quit");
			if(strfind(szName, "'", true) != -1) return ShowPlayerDialog(playerid, DIALOG_NEWNICK, DIALOG_STYLE_INPUT, "{FF0000}ERROR: {FFFFFF}Change Name", "{00FF00}Please enter below new nickname wich you want to have\n{FFFF00}You can't type in the new name symbol: {FF0000}('){FFFF00}!", "Next", "");
            //------------------------------------------------------------------
			switch(SetPlayerName(playerid, szName))
			{
			    case -1: ShowPlayerDialog(playerid, DIALOG_NEWNICK, DIALOG_STYLE_INPUT, "{FFFFFF}Change Name", "{FF0000}ERROR: {00FF00}A player is already playing with that nick, please type another one:", "Next", "");
			    case 0: ShowPlayerDialog(playerid, DIALOG_NEWNICK, DIALOG_STYLE_INPUT, "{FFFFFF}Change Name", "{FF0000}ERROR: {00FF00}You are already known as typed name.", "Next", "");
			    case 1: OnPlayerConnect(playerid);
			}
			return 1;
		}

 

Posted (edited)

Iti sugerez sa faci 2 comenzi diferite. Una "/changenick" care sa fie in engleza bineinteles si una "/schimbanumele" care sa apara in romana.

 

Edited by Alberto.
Posted

Dar nu este comanda. Acest dialog face parte din sitemul de register + login iar comanda este separata.

Posted

Ca sa faci trebuie sa traduci toate dialogurile...Adica tot ce este scris in dialog..

 

 

  • 2 weeks later...
Posted
On 12/15/2015 at 20:00, Adrian_Petre said:

Ca sa faci trebuie sa traduci toate dialogurile...Adica tot ce este scris in dialog..

Păi cum adică să le traduc:whatsgoingon:

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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.