samp dialog

samphacks

Active member
Joined
Dec 18, 2016
Messages
40
Reaction score
2
How can I get dialog from a server?
 e.g. if I type "/show" it will show me previous dialog.
I tried opcode 0BC9: samp send_dialog_response dialog 0@ button 1@ listitem 2@ input 3@ , but it doesnt work well for me
 

not490

Well-known member
Joined
Feb 8, 2014
Messages
438
Reaction score
4
Code:
ShowPlayerDialog(playerid, DIALOG_WELCOME, DIALOG_STYLE_MSGBOX
This is the form server uses, but are you trying to get server dialogs to show up on you, those you are not even supposed to see in different situations?
 

englezeanu

Active member
Joined
Dec 17, 2013
Messages
40
Reaction score
0
Hook RakNet Receive RPC, check if rpcid = RPC_ScrShowDialog, then save the parameters in variables for further use at /show command.
 
Top