OnDialogResponse [+REP]
#2

pawn Код:
public OnDialogResponse(playerid,dialogid,response, listitem, inputtext[])
{
    if(dialogid == DIALOG_JOBS)
    {
        if(response)
            {
                switch(listitem)
                {
                    case 0:{SetPlayerCheckpoint(playerid, 359.5408, 206.7693, 1008.3828, 2);}
                    case 1:{SetPlayerCheckpoint(playerid, 347.7374, 193.7241, 1014.1875, 2);}
                    case 2:{SetPlayerCheckpoint(playerid, 1210.8000, 5.6668, 1000.9219, 2);}
                    case 3:{SetPlayerCheckpoint(playerid, 2166.3772, -1675.3829, 15.0859, 2);}
                    case 4:{SetPlayerCheckpoint(playerid, 2356.0491, -2288.2493, 17.4219, 2);}
                    case 5:{SetPlayerCheckpoint(playerid, 1643.3679, -1520.7407, 13.5593, 2);}
                    case 6:{SetPlayerCheckpoint(playerid, 2226.1716, -1718.1792, 13.5165, 2);}
                    case 7:{SetPlayerCheckpoint(playerid, 1366.4325, -1275.2096, 13.5469, 2);}
                    case 8:{SetPlayerCheckpoint(playerid, 531.7930, -1292.4044, 17.2422, 2);}
                    case 9:{SetPlayerCheckpoint(playerid, 1154.2208, -1770.8203, 16.5992, 2);}
                    case 10:{SetPlayerCheckpoint(playerid, 649.2820, -1360.8070, 13.5860, 2);}
                    case 11:{SetPlayerCheckpoint(playerid, 919.4680, -1252.1967, 16.2109, 2);}
                }
            }
            return 1;
    }
    return 0;
}
Try that
Reply


Messages In This Thread
OnDialogResponse [+REP] - by EgyptForLife - 01.10.2015, 22:22
Re: OnDialogResponse [+REP] - by McGuiness - 01.10.2015, 22:23
Re: OnDialogResponse [+REP] - by Jefff - 01.10.2015, 22:25
Re: OnDialogResponse [+REP] - by EgyptForLife - 01.10.2015, 22:37
Re: OnDialogResponse [+REP] - by Lunoxel - 02.10.2015, 09:05
Re: OnDialogResponse [+REP] - by EgyptForLife - 02.10.2015, 12:04

Forum Jump:


Users browsing this thread: 1 Guest(s)