14.07.2012, 12:48
Or simply use this on your command line.
if(PlayerInfo[playerid][pDragged] == 1) return ShowPlayerDialog(DIALOG_ID, DIALOG_MSGBOX, "Message", "Would you like to continue being dragged or leave this position?", "Stay", "Leave");
if(PlayerInfo[playerid][pDragged] == 1) return ShowPlayerDialog(DIALOG_ID, DIALOG_MSGBOX, "Message", "Would you like to continue being dragged or leave this position?", "Stay", "Leave");