Help, dialog warning
#6

Quote:
Originally Posted by mzazon
Посмотреть сообщение
pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
#include ZCMD

#define MAX_DIALOGS (15)

#if defined FILTERSCRIPT

#endif

CMD:T(playerid,params[]) {
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Teleports", "Change it", "Change it", "Change it");
return 1; }
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1)
    {
        if(!response) return SendClientMessage(playerid, 0xFFFFFFFF, "Change it");
        if(response == 1)
        {
        if(listitem == 0)
        {
            SendClientMessage(playerid, 0xFFFFFFFF, "Change it");
            SetPlayerInterior(playerid,0);
            SetPlayerPos(playerid, 2510.4558,-1666.1368,13.5713);
            SetVehiclePos(playerid, 2510.4558,-1666.1368,13.5713);
            if(listitem == 1)
            { // Language fucks it, change it)
            SendClientMessage(playerid, 0xFFFFFFFF, "Change it");
            SetPlayerInterior(playerid,0);
            SetPlayerPos(playerid, 2024.3464,1342.8766,10.8203);
            SetVehiclePos(playerid, 2024.3464,1342.8766,10.8203);
            if(listitem == 2)
            { // Language fucks it, change it)
            SendClientMessage(playerid, 0xFFFFFFFF, "Change it");
            SetPlayerInterior(playerid,0);
            SetPlayerPos(playerid, -2131.6016,926.5200,80);
            SetVehiclePos(playerid, -2131.6016,926.5200,80);
        }
        }
        }
        }
    }
    return 1;
}
The language is being bugged over pawno, do not use that language, just use english.
I changed the language, it still doesn't work.
Reply


Messages In This Thread
Help, dialog warning - by Onepind - 02.09.2014, 14:49
Re: Help, dialog warning - by Fred1993 - 02.09.2014, 14:59
Re: Help, dialog warning - by Onepind - 02.09.2014, 15:47
Re: Help, dialog warning - by Jochemd - 02.09.2014, 15:54
Re: Help, dialog warning - by mzazon - 02.09.2014, 16:02
Re: Help, dialog warning - by Onepind - 02.09.2014, 16:56
Re: Help, dialog warning - by mzazon - 02.09.2014, 16:57
Re: Help, dialog warning - by SHE790 - 02.09.2014, 18:10

Forum Jump:


Users browsing this thread: 1 Guest(s)