From 3da90fda9a66c04f86bc5b855832ba6c608c2890 Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Wed, 19 Sep 2018 09:49:59 +1000 Subject: [PATCH] move crowdfund dialog ids to dialog_ids --- gamemodes/irresistible/cnr/dialog_ids.pwn | 4 ++++ gamemodes/irresistible/cnr/features/crowdfund.pwn | 9 ++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/gamemodes/irresistible/cnr/dialog_ids.pwn b/gamemodes/irresistible/cnr/dialog_ids.pwn index 0d3241f..772b023 100644 --- a/gamemodes/irresistible/cnr/dialog_ids.pwn +++ b/gamemodes/irresistible/cnr/dialog_ids.pwn @@ -171,6 +171,10 @@ #define DIALOG_TOYS_COLOR 1160 #define DIALOG_HIGHSCORES 1161 #define DIALOG_HIGHSCORES_BACK 1162 +#define DIALOG_CROWDFUNDS 1163 +#define DIALOG_CROWDFUND_OPTIONS 1164 +#define DIALOG_CROWDFUND_INFO 1165 +#define DIALOG_CROWDFUND_DONATE 1166 /* ** Hooks ** */ hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] ) diff --git a/gamemodes/irresistible/cnr/features/crowdfund.pwn b/gamemodes/irresistible/cnr/features/crowdfund.pwn index 0ec62ea..dc90c51 100644 --- a/gamemodes/irresistible/cnr/features/crowdfund.pwn +++ b/gamemodes/irresistible/cnr/features/crowdfund.pwn @@ -1,8 +1,8 @@ /* * Irresistible Gaming (c) 2018 * Developed by Lorenc Pekaj - * Module: - * Purpose: + * Module: cnr\features\crowdfund.pwn + * Purpose: off-ucp crowdfunding feature (all done in-game) */ /* ** Includes ** */ @@ -11,11 +11,6 @@ /* ** Definitions ** */ #define MAX_CROWDFUNDS 10 // dont bother editing -#define DIALOG_CROWDFUNDS 9383 -#define DIALOG_CROWDFUND_OPTIONS 9384 -#define DIALOG_CROWDFUND_INFO 9385 -#define DIALOG_CROWDFUND_DONATE 9386 - /* ** Hooks ** */ hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] ) {