User:EAi/Tasks

From Multi Theft Auto: Wiki
< User:EAi
Revision as of 21:58, 20 March 2009 by EAi (talk | contribs)
Jump to navigation Jump to search
<task name="CTaskComplexDriveToPoint" parent="CTaskComplexCarDrive">
    <constructor address="0x1234567">
        <param name="vehicle" type="vehicle" />
        <param name="target" type="vector" />
        <param name="cruiseSpeed" type="float" />
        ...
    </constructor>
    <members>
        <variable name="target" type="vector" sync="true" />
        <variable name="mode" type="integer" />
        <padding length="4" />
        <variable name="hasAchievedTarget" type="bool" />
    </members>
    <functions>
        <function name="isTargetBlocked" address="0x12345678">
            <param name="ped" type="ped" />
        </function>
    </functions>
</task>