[HELP]Command Close itself
#1

when am click it
its close itself ?

How to Fix it?


http://prntscr.com/3ub3th



http://prntscr.com/3ub421




I WILL GIVE YOU REP+ IF CAN HELP ME!
Reply
#2

This is probably because you didn't add anything in result of a player clicking the dialog's options.
Reply
#3

it is same with GarHouse System
i test it in other server its work
Reply
#4

Are you sure you are creating dialog response for those dialogs?
Reply
#5

you know GarHouse?
it is work in other server.
Reply
#6

Make sure the DialogID isn't conflicting with any others.
Try making it;
pawn Код:
#define DIALOGNAME (99999) // Replace DIALOGNAME with the name of the dialog, and remove the other #define for the dialog
Reply
#7

like this?

Код:
// also include
#include <TR_GameModeInit>

#define DIALOGNAME (99999)
#define COLOR_GREEN 0x00FF00FF
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PURPLE 0xFF00FFAA
#define ORANGE 0xFF8000AA
#define COLOR_BLUE 0x0000FFFF
#define COLOR_ORANGE 0xFF9000FF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_DARKBLUE 0x00007AFF
#define COLOR_PINK 0xFF007AFF
#define COLOR_BLACK 0x000000FF
#define COLOR_LIGHTGREEN 0x82FF82FF
#define mod 27
#define D1 20 //Weapon Menu
#define A1 21 //Melee
#define A2 22 //Trow
#define A3 23 //Pistols
#define A4 24 //Shotguns
#define A5 25 //Sub-Machine Guns
#define A6 26 //Assault Rifles
#define A7 27 //Rifles
#define A7 28 //Special
#define MINUTES(%1)                 ((%1)*(60*1000))
#define BotName                    "{FF0000}Server:"
#define DIALOG_DCMDS   9768
#define DIALOG_TELES   2245
#define DIALOG_TUNING1   1865
#define DIALOG_AIRPORTS1  2636
#define DIALOG_STUNTS1   2036
#define DIALOG_DM   1344
#define DIALOG_RADIO 5678
#define DIALOG_ISDM   2051
#define DIALOG_STUNTS2 1256
#define DIALOG_UPDATES1   4790
#define DIALOG_PARKOURS 3865
#define DIALOG_DRIFTS1   8765
#define WORLD_JAIL 10254
#define red 0xF60000AA
#define GREEN 0x21DD00FF
#define PRESSED(%0) \
Reply
#8

Return 0 at the end of OnDialogResponse in any script the server running (gamemode, filterscripts etc).
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)