Skip to content

Commit

Permalink
Update for _0x79C0E43EB9B944E2 (#984)
Browse files Browse the repository at this point in the history
* Update for _0x79C0E43EB9B944E2

* Update SetTableGamesCameraThisUpdate.md

Nitpicking, slight correctness on grammar and return value description.

---------

Co-authored-by: ammonia-cfx <[email protected]>
  • Loading branch information
azutake and 4mmonium authored Feb 19, 2024
1 parent 0fd0eda commit 3029efd
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 16 deletions.
16 changes: 0 additions & 16 deletions CAM/N_0x79c0e43eb9b944e2.md

This file was deleted.

40 changes: 40 additions & 0 deletions CAM/SetTableGamesCameraThisUpdate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
ns: CAM
aliases: ["0x79C0E43EB9B944E2"]
---
## SET_TABLE_GAMES_CAMERA_THIS_UPDATE

```c
// 0x79C0E43EB9B944E2
BOOL SET_TABLE_GAMES_CAMERA_THIS_UPDATE(Hash hash);
```
Override the camera work of the third-person camera to table game for current frame only.
| HashKey | Hash | Game |
| :---------------------------------: | :-----------:| :-------------: |
| `CASINO_LUCKY_WHEEL_CAMERA` | `5891389` | Lucky Wheel |
| `CASINO_SLOT_MACHINE_CAMERA` | `518572876` | Slots |
| `CASINO_ROULETTE_CAMERA` | `71681063` | Roulette |
| `CASINO_BLACKJACK_CAMERA` | `-2124244681` | Blackjack |
| `CASINO_POKER_CAMERA` | `-1938411241` | Three Cards |
| `CASINO_INSIDE_TRACK_CAMERA` | `1929822423` | Inside Track |
| `ARCADE_LOVE_PROFESSOR_P1_CAMERA` | `545868034` | LoveProfessorP1 |
| `ARCADE_LOVE_PROFESSOR_P2_CAMERA` | `935304251` | LoveProfessorP2 |
## Parameters
* **hash**: Hash for table game
## Return value
Returns a boolean value indicating if the camera settings were successfully overriden for this current frame.
## Examples
```lua
CreateThread(function()
while true do
-- override to lucky wheel camera work
SetTableGamesCameraThisUpdate(GetHashKey("CASINO_LUCKY_WHEEL_CAMERA"))
Wait(0)
end
end)
```

0 comments on commit 3029efd

Please sign in to comment.