hookaddress := dwSAMP + FUNC_SAMP_SHOWDIALOG
showDialog := New MinHook("", hookaddress , "showDialog_Hook")
showDialog.Enable()
Return
showDialog_Hook(this,wID, iStyle, szCaption, szText, szButton1, szButton2, bSend)
{
global showDialog
return DllCall(showDialog.original,"PTR",this...