[HELP]Command Close itself - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]Command Close itself (
/showthread.php?tid=520484)
[HELP]Command Close itself -
PowerF - 19.06.2014
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!
Re: [HELP]Command Close itself -
Cena44 - 19.06.2014
This is probably because you didn't add anything in result of a player clicking the dialog's options.
Re: [HELP]Command Close itself -
PowerF - 19.06.2014
it is same with GarHouse System

i test it in other server its work
Re: [HELP]Command Close itself -
Laurey - 19.06.2014
Are you sure you are creating dialog response for those dialogs?
Re: [HELP]Command Close itself -
PowerF - 19.06.2014
you know GarHouse?
it is work in other server.
Re: [HELP]Command Close itself -
Lynn - 19.06.2014
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
Re: [HELP]Command Close itself -
PowerF - 19.06.2014
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) \
Re: [HELP]Command Close itself -
Konstantinos - 19.06.2014
Return 0 at the end of OnDialogResponse in any script the server running (gamemode, filterscripts etc).