Hello, its me again.
I'm kinda confused with the SAMP. function like, SAMP.CmdRet, SAMP.Dialog etc. My question is, where can I get the full list of this function like browing the opcode. Also can you give me an example usage of this opcode:
[shcode=cpp]
0B3B: samp show_dialog id 1@ caption 2@ text 3@ button_1 4@ button_2 5@ style 6@
[/shcode]
I tried to do this:
[shcode=cpp]
0B3B: samp show_dialog id "dialog help!" "1. ALT + 1 for storing position, ALT + 2 for tp to your save position.\n2. /m4 for spawning m4." "I" "Understand" DIALOG_STYLE_MSGBOX
[/shcode]
When executing the command for that dialog, my game just instantly crash. Any help will be appreciated, thank you
I'm kinda confused with the SAMP. function like, SAMP.CmdRet, SAMP.Dialog etc. My question is, where can I get the full list of this function like browing the opcode. Also can you give me an example usage of this opcode:
[shcode=cpp]
0B3B: samp show_dialog id 1@ caption 2@ text 3@ button_1 4@ button_2 5@ style 6@
[/shcode]
I tried to do this:
[shcode=cpp]
0B3B: samp show_dialog id "dialog help!" "1. ALT + 1 for storing position, ALT + 2 for tp to your save position.\n2. /m4 for spawning m4." "I" "Understand" DIALOG_STYLE_MSGBOX
[/shcode]
When executing the command for that dialog, my game just instantly crash. Any help will be appreciated, thank you