Textdraw Dialog things
#2

Quote:
Originally Posted by Jaua10
Посмотреть сообщение
Alrigh and now how can i do if any player press the "esc" key,"shift"key and "enter" key the server kicks you with a send u a message?

for example now i got when player enter in server ask you before registering in what lenguage u want to see the game mode,if player select english this will show u a dialog like "hello (name of the character) please put below the password u want, if player select spanish this will showu a dialog like hola (nombre del jugador) por favor escribe tu contraeсa abajo, and if player press "esc" key and "enter" key the server will kicks u too.

for the moment i got this:

PHP код:
public OnPlayerConnect(playerid)
{
    
ShowPlayerDialog(playeridLenguageDIALOG_STYLE_MSGBOX"                                     {FFFFFF}Welcome","\n{FFFFFF}\tPlease, choose a language you would like to display.\n\n\tPor favor, elija el idioma que desea mostrar.","{FFFFFF}English","{FFFFFF}Espaсol");
    
    return 
1;

can u explaint to me what can i do and where i have to place the code, thanks in advance
#define DIALOG_LENGUAGE 4939 // This 4939 number of dialog.

PHP код:
ShowPlayerDialog(playeridDIALOG_LENGUAGE DIALOG_STYLE_MSGBOX"Choose Your langague""YPlease, choose a language you would like to display.\n\n\tPor favor, elija el idioma que desea mostrar.","English""Espaсol"); 
Try this.
Reply


Messages In This Thread
Textdraw Dialog things - by Jaua10 - 05.08.2018, 22:56
Re: Textdraw Dialog things - by RedRex - 05.08.2018, 22:59
Re: Textdraw Dialog things - by Jaua10 - 05.08.2018, 23:09
Re: Textdraw Dialog things - by Jaua10 - 06.08.2018, 07:50
Re: Textdraw Dialog things - by taktaz - 06.08.2018, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)