[AYUDA] їComo Lo Paso a Dialog?
#1

Hola a Tod@s
Quisiera Saber si se puede pasar un comando a un comando con dialog ;S

Код:
//----------------------------------[HELP]-----------------------------------------------
	if(strcmp(cmd, "/ayuda", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
		  SendClientMessage(playerid, COLOR_GRAD1,":: ACCOUNT :: /reglas /conectar /cuenta /changepass /subirnivel /upgrade");
			SendClientMessage(playerid, COLOR_GRAD1,":: GENERAL :: /pagar /charity /hora /comprar /desrentarauto /desrentarmoto /switchkey /id /beber /ropa /opendoor(/od)");
			SendClientMessage(playerid, COLOR_GRAD2,":: GENERAL :: /resetupgrades(50k) /buygun /lock /skill /licensias /mostrarlicensias(/sl) /reportar /askq /animlist /stopanim /fuel");
			SendClientMessage(playerid, COLOR_GRAD2,":: GENERAL :: (/re)port /cancel /aceptar /eject /usedrugs /contrato /llenar /admins /licensers (/f)actionlist");
			SendClientMessage(playerid, COLOR_GRAD3,":: GENERAL :: (/wi)ndows /coin /trunk (/inv)entory /knock /nokear /give /gateopen /sid /cfumar");
	 		SendClientMessage(playerid, COLOR_GRAD3,":: CHAT :: (/p)me (/cw)hisper (/o)oc (/s)hout /low (/b) (/f)action /me /do /togooc /tognews /togfam /togpm /togphone");
			SendClientMessage(playerid, COLOR_GRAD4,":: BANK :: /saldo /sacar /depositar /transferir");
			if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
			{
  				SendClientMessage(playerid, COLOR_YELLOW2, ":: SAPD :: (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrestar /duty /wanted /esposar (/ta)zer /undercover /backup(/bk)");
				SendClientMessage(playerid, COLOR_YELLOW2, ":: SAPD :: /frisk /friskinv /quitar /multar (/gov)ernment /deliver /ram /swat /authorizeswat /deauthorizeswat /drag /copuntie");
				SendClientMessage(playerid, COLOR_YELLOW2, ":: SAPD :: /backupclear(/bkc) /roadblock(/rb) /roadunblock(/rrb) /roadunblockall(/rrball) /mostrarcarnet /tracelastcall(/tlc) /weplicense");
  			}
  			if(PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2)
			{
  				SendClientMessage(playerid, COLOR_YELLOW2, ":: FBI :: (/r)adio (/ref)uerzos (/d)epartments (/m)egaphone (/su)spect /mdc /arrestar /duty /wanted (/cu)ff (/ta)zer /agente /showid /friskinv");
				SendClientMessage(playerid, COLOR_YELLOW2, ":: FBI :: /frisk /quitar /multar (/gov)ernment /deliver /ram /drag /copuntie /authorizetactical /deauthorizetactical /tactical");
  			}
  			if(PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 3)
			{
  				SendClientMessage(playerid, COLOR_YELLOW2, ":: Military :: (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrestar /wanted (/cu)ff (/ta)zer");
				SendClientMessage(playerid, COLOR_YELLOW2, ":: Military :: /frisk /friskinv /quitar /multar (/gov)ernment /deliver /ram /drag /copuntie");
  			}
      if(PlayerInfo[playerid][pJob] == 1) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /find"); }
		  else if(PlayerInfo[playerid][pJob] == 2) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /liberar"); }
		  else if(PlayerInfo[playerid][pJob] == 3) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /sex"); }
		  else if(PlayerInfo[playerid][pJob] == 4) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /selldrugs /importardrogas /vdrogas /cosecharDrogas /dcosecharDrogas"); }
		  else if(PlayerInfo[playerid][pJob] == 5) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /robar [Auto/ Dinero/ Telefono/ 24-7]"); }
		  else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /paper /papers /live /noticias [text]"); }
		  else if(PlayerInfo[playerid][pJob] == 7) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /repair/refill /duty /modificarveh /remolcar /subirm /bajarm"); }
		  else if(PlayerInfo[playerid][pJob] == 8) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /guard"); }
		  else if(PlayerInfo[playerid][pJob] == 9) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /sellgun"); }
		  else if(PlayerInfo[playerid][pJob] == 10) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /sellcar"); }
			else if(IsAMedic(playerid)){SendClientMessage(playerid,COLOR_OOCD,"[_TRABAJO_] /curar /informes"); }
		  else if(PlayerInfo[playerid][pJob] == 12) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /fight /boxstats"); }
		  else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10|| PlayerInfo[playerid][pJob] == 25) {
		  SendClientMessage(playerid,COLOR_LIGHTBLUE," |.:: TRABAJO ::.| /fare"); }
		  else if(PlayerInfo[playerid][pJob] == 15) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /papers /bring /deliver"); }
		  else if(PlayerInfo[playerid][pJob] == 16) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /buyprods /sellprods /load"); }
		  else if(PlayerInfo[playerid][pJob] == 17) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /duty /sellpizza"); }
		  else if(PlayerInfo[playerid][pJob] == 18) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /cocechar /dejardecosechar"); }
		  else if(PlayerInfo[playerid][pJob] == 19) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /cosecharDrogas /dcosecharDrogas"); }
		  else if(PlayerInfo[playerid][pJob] == 20) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /importardrogas /vdrogas"); }
		  else if(PlayerInfo[playerid][pJob] == 21) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /barrer /dbarrer"); }
		  else if(PlayerInfo[playerid][pJob] == 22) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /smugglemats"); }
		  else if(PlayerInfo[playerid][pJob] == 14) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /fare"); }
		  else if(PlayerInfo[playerid][pJob] == 26) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /cocinar /pastel /pavo /cuniforme /Fideos"); }
		  else if(PlayerInfo[playerid][pJob] == 23) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: JOB :: /creategun /buymats"); }
      else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) {
		  SendClientMessage(playerid,COLOR_YELLOW2,":: HITMAN :: /portable"); }
		  if(PlayerInfo[playerid][pMember] == 11||PlayerInfo[playerid][pLeader] == 11||PlayerInfo[playerid][pMember] == 12||PlayerInfo[playerid][pLeader] == 12){
		  SendClientMessage(playerid,COLOR_YELLOW2,":: LESSON :: /startlesson /stoplesson /darlicensia"); }
			if (gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
			{
				SendClientMessage(playerid, COLOR_YELLOW2, ":: SAMD :: (/r)adio (/d)epartments /heal /duty /tracelastcall(/tlc)");
			}
			if (PlayerInfo[playerid][pAdmin] >= 1)
			{
				SendClientMessage(playerid, COLOR_YELLOW, ":: ADMIN :: (/a)dmin (/ah)elp");
			}
			SendClientMessage(playerid, COLOR_GRAD6,":: OTHER :: /celayuda /casaAyuda /AyudaNota /manual /rentaAyuda /negocioayuda /liderayuda /fishhelp /cookhelp /irchelp");
		}
		return 1;
	}


Como se puede pasar a dialog sin borrar todo?

PD: Si no se puede no importa, solo queria saber si se podia*
Reply


Messages In This Thread
[AYUDA] їComo Lo Paso a Dialog? - by Pandax - 11.03.2010, 16:14
Re: [AYUDA] їComo Lo Paso a Dialog? - by Sergio_team - 11.03.2010, 17:27
Re: [AYUDA] їComo Lo Paso a Dialog? - by CristianTdj - 11.03.2010, 17:42
Re: [AYUDA] їComo Lo Paso a Dialog? - by Pandax - 11.03.2010, 17:59
Re: [AYUDA] їComo Lo Paso a Dialog? - by Miguel - 11.03.2010, 18:18
Re: [AYUDA] їComo Lo Paso a Dialog? - by Pandax - 11.03.2010, 19:33
Re: [AYUDA] їComo Lo Paso a Dialog? - by CristianTdj - 11.03.2010, 19:48
Re: [AYUDA] їComo Lo Paso a Dialog? - by Roymer - 11.03.2010, 19:52
Re: [AYUDA] їComo Lo Paso a Dialog? - by CristianTdj - 11.03.2010, 20:39
Re: [AYUDA] їComo Lo Paso a Dialog? - by Pandax - 11.03.2010, 22:51

Forum Jump:


Users browsing this thread: 2 Guest(s)