TaskSubmarineGotoAndStop — FiveM Natives
0xC22B40579A498CA4 · TASK · all
Used in am_vehicle_spawn.ysc and am_mp_submarine.ysc. p0 is always 0, p5 is always 1 p1 is the vehicle handle of the submarine. Submarine must have a driver, but the ped handle is not passed to the native. Speed can be set by calling SET_DRIVE_TASK_CRUISE_SPEED after `` NativeDB Introduced: v2189 ``
Parameters
| Name | Type |
|---|---|
| p0 | Any |
| submarine | Vehicle |
| x | float |
| y | float |
| z | float |
| p5 | Any |
Returns
void