Jump to content
  • 0

Cum schimb un dialog de factiuni in cutie in una de chat


AlexMaican

Question

Salutare.Am un server numit EvilGaming RPG. Comanda /factions este scrisa ca o lista care apare pe ecran...gen apare o cutiuta pe ecran unde sunt enumerate factiunile.Iar eu vreau sa apara pe chat acea lista gen:

|______Factiunile EvilGaming______|

1.--

2...

3.. ati priceput voi... Zicetimi si mie cum pot transforma aceasta lista in cutie in una de chat V-a rog.

COD:ShowPlayerDialog(playerid,13310,DIALOG_STYLE_MSGBOX,"Factiuni EG:RPG:","{4B35F2}1.Politia Romana\n{2205FD}2.S.R.I.\n3.Jandarmeria EG:RPG\n{F33F54}4.SMURD\n{27A6B7}5.C

Vreau sa apara intr-o lista de chat. Zicetimi plz

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
  • 0

Imi poti da tot code-ul de factions list in chat? 

code la factiuni: 

ShowPlayerDialog(playerid,13310,DIALOG_STYLE_MSGBOX,"Factiuni EG:RPG:","{4B35F2}1.Politia Romana\n{2205FD}2.S.R.I.\n3.Jandarmeria EG:RPG\n{F33F54}4.SMURD\n{27A6B7}5.Clanul Dragonu\n{666769}6.Clanul Camataru\n{05D167}7.Guvern\n{B81E23}8.Hitman Agency\n{FA7DC2}9.Stirile EG:RPG\n{FFF801}10.Speed Taxi\n{14E8CF}11.Instructori\n{0EC40E}12.Clanul Sadoveanu\n{FF8400}13.Clanul Duduianu\n{FF00C4}14.Clanul Capone\n{D55009}15.Clanul Corsicanu\n{A907C9}16.Need For Speed\n{FF0000}17.Blood Mafia\n ","Ok","");

 

Link to comment
Share on other sites

  • 0

Doar nu vrei sa ti-l facem noi pe tot, nu ? Uite mai jos un model al comenzii cu cateva factiuni , ti-o modifici dupa bunul plac si cu culorile tale .

 

if(strcmp(cmd, "/factions", true) == 0)
	{
		if(IsPlayerConnected(playerid))
		{
		    if(gLogged[playerid] == 1)
		    {
		        SendClientMessage(playerid, COLOR_WHITE, "*** NoNamed's RPG Factions : ***");
			    SendClientMessage(playerid, COLOR_LSPD, "1.Los Santos Police Department");
		    	SendClientMessage(playerid, COLOR_LVPD, "2.Las Venturas Police Department");
		    	SendClientMessage(playerid, COLOR_SFPD, "3.San Fierro Police Department");
		    	SendClientMessage(playerid, COLOR_FBI, "4.Federal Bureau of Investigations");
		    	SendClientMessage(playerid, COLOR_NG, "5.National Guard");
		    	SendClientMessage(playerid, COLOR_PARAMEDICS, "6.Paramedics Department");
			}
			else
			{
			    SendClientMessage(playerid, COLOR_ERROR, "You are not logged in!");
			}
  		}

		return 1;
	}

 

Link to comment
Share on other sites

  • 0

Multumesc mult :D Dar in loc de COLOR_NG,PARAMEDICS,etc cum fac sa pun culori de gen: {FFFFFF},{00FFFF} etc...scot COLOR_(ce o fi) si pun codul de culoare: {FFFFFF} (culoarea pe caer o prefer)?

dupa culoarea COLOR_NG sau ce o fi va urma "Textul tau" pai,dupa primul " vei pune culoarea HEX(culoarea hex e ce ai zis mai sus)

Ofer servicii de web designer/developer(contact me pentru portofoliu etc)

Metode de plata: Paysafecard,Skrill,PayPal,Bitcoin

Ofer si servicii de Penetration Testing.

Vand si VPN-uri. 5 euro pe luna

Skype: live:mrtunne.tkcode

Discord: https://mrtunne.info/discord

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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