CSS:
:rpassistance_3
0AC9: free_allocated_memory $samp
IF
0AA2: $samp = "samp.dll"
then
0A8E: $SAMP_DIALOG_INFO_OFFSET = $samp + 0x2AC9E0 // SAMP_DIALOG_INFO_OFFSET
0A8D: $SAMP_DIALOG_INFO_OFFSET = readMem $SAMP_DIALOG_INFO_OFFSET sz 4 vp 0
0A8E: $SAMP_DIALOG_ACTIVE_OFFSET = $SAMP_DIALOG_INFO_OFFSET + 0x28 // SAMP_DIALOG_ACTIVE_OFFSET
0A8D: $SAMP_DIALOG_ACTIVE_OFFSET = readMem $SAMP_DIALOG_ACTIVE_OFFSET sz 4 vp 0
end
if
$SAMP_DIALOG_ACTIVE_OFFSET == true
goto_if_false @rpassistance_1
0A8E: $SAMP_DIALOG_CAPTION_OFFSET = $SAMP_DIALOG_INFO_OFFSET + 0x40 // SAMP_DIALOG_CAPTION_OFFSET
0AD1: show_formatted_text_highpriority "%s" TIME 10 $SAMP_DIALOG_CAPTION_OFFSET
06D1: v$Vehicle_Lock = "Vehicle Lock"
if
08F9: $SAMP_DIALOG_CAPTION_OFFSET == v$Vehicle_Lock
goto_if_false @rpassistance_1
0AD1: show_formatted_text_highpriority "~r~%s" TIME 10 $SAMP_DIALOG_CAPTION_OFFSET
jump @rpassistance_1
And it seems I can't use 08F9 to compare whether the $SAMP_DIALOG_CAPTION_OFFSET is equal to v$Vehicle_Lock (I have also tried using "Vehicle Lock" instead of the v$vlock).
I use samp version of 0.3DL.
I use 0AD1 for only experimental purpose to check if its working as intended.
Help me, please..