Add job and clan invite prompt types (unfinished)
This commit is contained in:
@@ -18,6 +18,8 @@ const V_PROMPT_BUYBIZ = 6;
|
|||||||
const V_PROMPT_BUYHOUSE = 7;
|
const V_PROMPT_BUYHOUSE = 7;
|
||||||
const V_PROMPT_RESETKEYBINDS = 8;
|
const V_PROMPT_RESETKEYBINDS = 8;
|
||||||
const V_PROMPT_RESETACTIONTIPS = 9;
|
const V_PROMPT_RESETACTIONTIPS = 9;
|
||||||
|
const V_PROMPT_JOBINVITE = 10;
|
||||||
|
const V_PROMPT_CLANINVITE = 11;
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
@@ -263,6 +265,14 @@ function playerPromptAnswerYes(client) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case V_PROMPT_CLANINVITE: {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
case V_PROMPT_JOBINVITE: {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
messagePlayerError(client, getLocaleString(client, "NoPromptAccept"));
|
messagePlayerError(client, getLocaleString(client, "NoPromptAccept"));
|
||||||
submitBugReport(client, `[AUTOMATED REPORT] Tried to accept invalid prompt type: ${getPlayerData(client).promptType}`);
|
submitBugReport(client, `[AUTOMATED REPORT] Tried to accept invalid prompt type: ${getPlayerData(client).promptType}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user