Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeleteCheckpoint docs improvement #923

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions GRAPHICS/DeleteCheckpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@ ns: GRAPHICS
// 0xF5ED37F54CD4D52E 0xB66CF3CA
void DELETE_CHECKPOINT(int checkpoint);
```

[Animations list](https://raw.githubusercontent.com/DurtyFree/gta-v-data-dumps/master/animDictsCompact.json)

## Parameters
* **checkpoint**:
* **checkpoint**: The hande of the checkpoint to delete.

## Return value
False when checkpoint got deleted or failed. Why false and not true? Mistery.

## Examples
```lua
local checkpointHandle = CreateCheckpoint(12, 1111.1111, 222.222, 33.33, 2222.2222, 333.333, 44.44, 5.0, 255, 0, 0, 200, 0)
DeleteCheckpoint(checkpointHandle)
```