cnrobbers/nui/ui.js
// DEBUG - EXTREMELY simple character select method just to get the script going
EXTREMELY simple character select method just to get the script going
EXTREMELY simple character select method just to get the script going
function ModelSelect(val) {
  if (val == 1)       $.post('https://cnrobbers/modelPick', JSON.stringify("last"));
  else if (val == 2)  $.post('https://cnrobbers/modelPick', JSON.stringify("next"));
  else if (val == 3)  $.post('https://cnrobbers/modelPick', JSON.stringify("random"));
  else                $.post('https://cnrobbers/modelPick', JSON.stringify("choose"));
}
function ModelSelect ( val ) { if ( val == 1 ) $ . post ( 'https://cnrobbers/modelPick' , JSON . stringify ( "last" ) ) ; else if ( val == 2 ) $ . post ( 'https://cnrobbers/modelPick' , JSON . stringify ( "next" ) ) ; else if ( val == 3 ) $ . post ( 'https://cnrobbers/modelPick' , JSON . stringify ( "random" ) ) ; else $ . post ( 'https://cnrobbers/modelPick' , JSON . stringify ( "choose" ) ) ; }
DEBUG - EXTREMELY simple character select method just to get the script going
DEBUG - EXTREMELY simple character select method just to get the script going