if(dialogid==5 && response==1) { switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 2413.2051,1123.8254,10.8203,2); FreeMode[playerid] = 0; GPSMode[playerid] = 1; } } }