Pawn Crash
#4

Quote:
Originally Posted by Troydere
Посмотреть сообщение
Where are you including that code?
OnDialogResponse, full code

Код:
if(dialogid == DIALOG_AYUDA && response == 1)
	{
		switch(listitem)
		{
		        new string[600];
			strcat(string, "{00CCFF}/me {FFFFFF}- Para acciones que realiza tu personaje.\n");
			strcat(string, "{00CCFF}/do {FFFFFF}- Para rol de ambiente o aclaraciones del /me.\n");
			strcat(string, "{00CCFF}/gr {FFFFFF}- Para que grite tu personaje.\n");
			strcat(string, "{00CCFF}/c {FFFFFF}- Para susurrar a las personas cercanas.\n");
			strcat(string, "{00CCFF}/ame {FFFFFF}- Lo que la gente puede ver de tu personaje.\n");
			strcat(string, "{00CCFF}/animaciones {FFFFFF}- Para ver las animaciones del servidor.\n");
			strcat(string, "{00CCFF}/acento {FFFFFF}- Para que tu personje tenga un acento.");
			
			case 0: ShowPlayerDialog(playerid, DIALOG_AYUDAGENERAL, DIALOG_STYLE_MSGBOX, "Ayuda general:", "{00CCFF}/stats {FFFFFF}- Para mirar estadнsticas y datos de tu personaje.", "Atrбs", "Salir");
			case 1: ShowPlayerDialog(playerid, DIALOG_AYUDAROL, DIALOG_STYLE_MSGBOX, "Ayuda de rol:", string, "Atrбs", "Salir");
		}
		return 1;
	}
Reply


Messages In This Thread
Pawn Crash - by Antenastyle - 14.05.2017, 12:16
Re: Pawn Crash - by Toroi - 14.05.2017, 13:16
Re: Pawn Crash - by ProBro - 14.05.2017, 13:24
Re: Pawn Crash - by Antenastyle - 14.05.2017, 14:02
Re: Pawn Crash - by Toroi - 14.05.2017, 14:09
Re: Pawn Crash - by SyS - 14.05.2017, 14:10

Forum Jump:


Users browsing this thread: 1 Guest(s)