Dialog Question
#3

Alrigh and now how can i do if any player press the "esc" 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
Reply


Messages In This Thread
Dialog Question - by Jaua10 - 01.08.2018, 19:10
Re: Dialog Question - by GRiMMREAPER - 01.08.2018, 19:38
Re: Dialog Questions - by Jaua10 - 03.08.2018, 08:10
Re: Dialog Question - by GRiMMREAPER - 03.08.2018, 08:22
Re: Dialog Question - by Jaua10 - 03.08.2018, 08:39

Forum Jump:


Users browsing this thread: 2 Guest(s)