HideDialogForPlayer or so? [Help]
#1

Does there exists a command like ?
PHP код:
    DialogHideForPlayer(playerid,dialogidl); 
Reply
#2

No. However i believe you can use -1 or 65535 (something like that) to hide any dialog being shown. Not sure though, as i've never tried it.
Reply
#3

pawn Код:
#define DialogHideForPlayer(%0,%1)  ShowPlayerDialog(%0, %1, 0, " ", " ", " ", " ")
Not tested.
Reply
#4

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
pawn Код:
#define DialogHideForPlayer(%0,%1)  ShowPlayerDialog(%0, %1, 0, " ", " ", " ", " ")
Not tested.
Not working.xD
Reply
#5

try this
pawn Код:
ShowPlayerDialog(playerid, -2,0, " ",  " ", "", "");
Anything with - will not be shown

EDIT
if you want to sue
DialogHideForPlayer

Try this
pawn Код:
#define DialogHideForPlayer(%0)  ShowPlayerDialog(%0, -1, 0, " ", " ", "", "")
DialogHideForPlayer(playerid);
Reply
#6

It's good. Working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)