LOL Darkflame, I like your avatar!
You could try something like this.
Dahua API v1.56, page 52: SetAlarmOutConfig
http://<ip>/cgi-bin/configManager.cgi?action=setConfig&AlarmOut[port].Mode=<paramValue>
-port = Alarm out port index starts at 0
-paramValue: 0=auto, 1=force on, 2=close alarm
Kevin