[AYUDA] Con dialogs..
#7

Lo que me dio W3sker ta bueno el problema es al crear el dialog tengo otro dialog entonces si pongo public ondialogresponse me dice ke el simbolo ya esta definido, entonces lo intente agregar abajo pero me enpezo a tirar errores asi de tmp,strtok y cuando lo kito me compila bien bueno te dejo el dialog Ke tengo es de reglas


pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 0)
    {
        if(response == 1)
        {
            SendClientMessage(playerid, 0xB4B5B7AA, "Gracias por aceptar las reglas");
            return 1;
        }
        if(response == 0)
        {
            SendClientMessage(playerid, 0xB4B5B7AA, "Fuiste expulsado por no aceptar las reglas");
            Kick(playerid);
            new stringsys [256];
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringsys, sizeof(stringsys), "[Administracion]** %s Ha sido expulsado por no aceptar las Reglas de anarkiaZ", pName);
            SendClientMessageToAll(0xB4B5B7AA, stringsys);
        }
    }
    return 0;
}
Nose si me Podrias pasar un ejemplo asi con un Player posicion.. soy novato.. pero asi se aprende.. por favor no me insulten
Reply


Messages In This Thread
[AYUDA] Con dialogs.. - by mamc_crazy - 16.08.2010, 04:22
Re: [AYUDA] Con dialogs.. - by Wesk3R - 16.08.2010, 04:49
Re: [AYUDA] Con dialogs.. - by CristianTdj - 16.08.2010, 10:20
Respuesta: [AYUDA] Con dialogs.. - by DarkChildren - 16.08.2010, 21:02
Re: [AYUDA] Con dialogs.. - by mamc_crazy - 16.08.2010, 21:39
Re: [AYUDA] Con dialogs.. - by TheChaoz - 16.08.2010, 21:54
Re: [AYUDA] Con dialogs.. - by mamc_crazy - 16.08.2010, 22:11
Re: [AYUDA] Con dialogs.. - by mamc_crazy - 16.08.2010, 22:24
Re: [AYUDA] Con dialogs.. - by TheChaoz - 16.08.2010, 22:27
Re: [AYUDA] Con dialogs.. - by mamc_crazy - 16.08.2010, 22:36

Forum Jump:


Users browsing this thread: 8 Guest(s)