From 249179ce07d90a4b505b8be3a97ddf973ed64efe Mon Sep 17 00:00:00 2001 From: Lucas7yoshi Date: Sun, 18 Sep 2022 20:58:22 -0400 Subject: [PATCH] IsPlayerDrivingAgainstTraffic --- PLAYER/IsPlayerDrivingAgainstTraffic.md | 21 +++++++++++++++++++++ PLAYER/N_0xf10b44fd479d69f3.md | 19 ------------------- 2 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 PLAYER/IsPlayerDrivingAgainstTraffic.md delete mode 100644 PLAYER/N_0xf10b44fd479d69f3.md diff --git a/PLAYER/IsPlayerDrivingAgainstTraffic.md b/PLAYER/IsPlayerDrivingAgainstTraffic.md new file mode 100644 index 000000000..b4139f730 --- /dev/null +++ b/PLAYER/IsPlayerDrivingAgainstTraffic.md @@ -0,0 +1,21 @@ +--- +ns: PLAYER +aliases: ["0xF10B44FD479D69F3"] +--- +## _IS_PLAYER_DRIVING_AGAINST_TRAFFIC + +```c +// 0xF10B44FD479D69F3 0x1E359CC8 +BOOL _IS_PLAYER_DRIVING_AGAINST_TRAFFIC(Player player, int p1); +``` + +Returns true if the player is in a vehicle and actively moving against traffic (cannot be stationary), otherwise returns false. + +Used in "Al Di Napoli" mission for a voiceline. + +## Parameters +* **player**: Player ID +* **p1**: Only use is 2, other values do not return true + +## Return value +Whether or not the player is actively (moving) driving against traffic \ No newline at end of file diff --git a/PLAYER/N_0xf10b44fd479d69f3.md b/PLAYER/N_0xf10b44fd479d69f3.md deleted file mode 100644 index af9dc590c..000000000 --- a/PLAYER/N_0xf10b44fd479d69f3.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -ns: PLAYER ---- -## _0xF10B44FD479D69F3 - -```c -// 0xF10B44FD479D69F3 0x1E359CC8 -BOOL _0xF10B44FD479D69F3(Player player, int p1); -``` - -``` -Only 1 occurrence. p1 was 2. -``` - -## Parameters -* **player**: -* **p1**: - -## Return value