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

Remove unimplemented functions and callbacks #1055

Merged
merged 6 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,9 @@ Release Candidate 2 (RC2) of the open.mp server.
- [GetVehicleRespawnDelay](scripting/functions/GetVehicleRespawnDelay)
- [GetVehicleTower](scripting/functions/GetVehicleTower)
- [GetVehicleCab](scripting/functions/GetVehicleCab)
- [GetVehicleOccupiedTick](scripting/functions/GetVehicleOccupiedTick)
- [HasVehicleBeenOccupied](scripting/functions/HasVehicleBeenOccupied)
- [IsVehicleOccupied](scripting/functions/IsVehicleOccupied)
- [GetVehicleRespawnTick](scripting/functions/GetVehicleRespawnTick)
- [IsVehicleDead](scripting/functions/IsVehicleDead)
- [ToggleVehicleSirenEnabled](scripting/functions/ToggleVehicleSirenEnabled)
- [IsVehicleSirenEnabled](scripting/functions/IsVehicleSirenEnabled)
- [GetVehicleModelCount](scripting/functions/GetVehicleModelCount)
Expand Down
4 changes: 4 additions & 0 deletions docs/scripting/callbacks/OnClientCheckResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ public OnClientCheckResponse(playerid, actionid, memaddr, retndata)
The following function might be useful, as they're related to this callback in one way or another.

- [SendClientCheck](../functions/SendClientCheck): Perform a memory check on the client.

## Related Resources

- [opcodes](../resources/opcodes): Action opcodes IDs and their purpose.
50 changes: 0 additions & 50 deletions docs/scripting/callbacks/OnScriptCash.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/scripting/functions/CreatePickup.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Known Bug(s):
- [GetPickupVirtualWorld](GetPickupVirtualWorld): Gets the virtual world ID of a pickup.
- [ShowPickupForPlayer](ShowPickupForPlayer): Shows a pickup for a specific player.
- [HidePickupForPlayer](HidePickupForPlayer): Hides a pickup for a specific player.
- [SetPickupForPlayer](SetPickupForPlayer): Adjusts the pickup model, type, and position for a specific player.

- [CreatePlayerPickup](CreatePlayerPickup): Creates a pickup which will be visible to only one player.
- [DestroyPlayerPickup](DestroyPlayerPickup): Destroy a player-pickup.

Expand Down
2 changes: 1 addition & 1 deletion docs/scripting/functions/GetPickupModel.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ public OnGameModeInit()
- [GetPickupVirtualWorld](GetPickupVirtualWorld): Gets the virtual world ID of a pickup.
- [ShowPickupForPlayer](ShowPickupForPlayer): Shows a pickup for a specific player.
- [HidePickupForPlayer](HidePickupForPlayer): Hides a pickup for a specific player.
- [SetPickupForPlayer](SetPickupForPlayer): Adjusts the pickup model, type, and position for a specific player.

2 changes: 1 addition & 1 deletion docs/scripting/functions/GetPickupPos.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ public OnGameModeInit()
- [GetPickupVirtualWorld](GetPickupVirtualWorld): Gets the virtual world ID of a pickup.
- [ShowPickupForPlayer](ShowPickupForPlayer): Shows a pickup for a specific player.
- [HidePickupForPlayer](HidePickupForPlayer): Hides a pickup for a specific player.
- [SetPickupForPlayer](SetPickupForPlayer): Adjusts the pickup model, type, and position for a specific player.

2 changes: 1 addition & 1 deletion docs/scripting/functions/GetPickupType.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ public OnGameModeInit()
- [GetPickupVirtualWorld](GetPickupVirtualWorld): Gets the virtual world ID of a pickup.
- [ShowPickupForPlayer](ShowPickupForPlayer): Shows a pickup for a specific player.
- [HidePickupForPlayer](HidePickupForPlayer): Hides a pickup for a specific player.
- [SetPickupForPlayer](SetPickupForPlayer): Adjusts the pickup model, type, and position for a specific player.

2 changes: 1 addition & 1 deletion docs/scripting/functions/GetPickupVirtualWorld.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ public OnGameModeInit()
- [SetPickupVirtualWorld](SetPickupVirtualWorld): Sets the virtual world ID of a pickup.
- [ShowPickupForPlayer](ShowPickupForPlayer): Shows a pickup for a specific player.
- [HidePickupForPlayer](HidePickupForPlayer): Hides a pickup for a specific player.
- [SetPickupForPlayer](SetPickupForPlayer): Adjusts the pickup model, type, and position for a specific player.

37 changes: 0 additions & 37 deletions docs/scripting/functions/GetPlayerLastSyncedTrailerID.md

This file was deleted.

37 changes: 0 additions & 37 deletions docs/scripting/functions/GetPlayerLastSyncedVehicleID.md

This file was deleted.

42 changes: 0 additions & 42 deletions docs/scripting/functions/GetServerRuleFlags.md

This file was deleted.

38 changes: 0 additions & 38 deletions docs/scripting/functions/GetVehicleOccupiedTick.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/scripting/functions/GetVehicleRespawnTick.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,3 @@ public OnGameModeInit()
}
```

## Related Functions

- [SetVehicleRespawnTick](SetVehicleRespawnTick): Set the respawn tick of a vehicle.
4 changes: 0 additions & 4 deletions docs/scripting/functions/HasVehicleBeenOccupied.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,3 @@ else
// Vehicle is not occupied
}
```

## Related Functions

- [SetVehicleBeenOccupied](SetVehicleBeenOccupied): Sets the vehicle's occupancy.
48 changes: 0 additions & 48 deletions docs/scripting/functions/HideObjectForPlayer.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/scripting/functions/HidePickupForPlayer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ public OnPlayerSpawn(playerid)
- [SetPickupVirtualWorld](SetPickupVirtualWorld): Sets the virtual world ID of a pickup.
- [GetPickupVirtualWorld](GetPickupVirtualWorld): Gets the virtual world ID of a pickup.
- [ShowPickupForPlayer](ShowPickupForPlayer): Shows a pickup for a specific player.
- [SetPickupForPlayer](SetPickupForPlayer): Adjusts the pickup model, type, and position for a specific player.

65 changes: 0 additions & 65 deletions docs/scripting/functions/IsObjectHiddenForPlayer.md

This file was deleted.

Loading