Skip to content

Commit

Permalink
Adding new natives version 1.1.0.2612 (issue openmultiplayer#32).
Browse files Browse the repository at this point in the history
  • Loading branch information
shierru committed Jan 11, 2024
1 parent 9c62745 commit 2c43a6c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
20 changes: 20 additions & 0 deletions omp_player.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2816,6 +2816,26 @@ native GetPlayerSpectateID(playerid);
*/
native SPECTATE_TYPE:GetPlayerSpectateType(playerid);

/**
* <library>omp_player</library>
*/
native GetPlayerAnimFlags(playerid);

/**
* <library>omp_player</library>
*/
native GetPlayerAnimationFlags(playerid);

/**
* <library>omp_player</library>
*/
native bool:IsPlayerInDriveByMode(playerid);

/**
* <library>omp_player</library>
*/
native bool:IsPlayerCuffed(playerid);

/**
* <library>omp_player</library>
*/
Expand Down
15 changes: 15 additions & 0 deletions omp_vehicle.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1560,6 +1560,11 @@ native bool:IsVehicleSirenEnabled(vehicleid);
*/
native bool:GetVehicleMatrix(vehicleid, &Float:rightX, &Float:rightY, &Float:rightZ, &Float:upX, &Float:upY, &Float:upZ, &Float:atX, &Float:atY, &Float:atZ);

/**
* <library>omp_vehicle</library>
*/
native GetVehicleMaxPassengers(modelid);

/**
* <library>omp_vehicle</library>
*/
Expand All @@ -1570,6 +1575,16 @@ native GetVehicleModelCount(modelid);
*/
native GetVehicleModelsUsed();

/**
* <library>omp_vehicle</library>
*/
native CountVehicleOccupants(vehicleid);

/**
* <library>omp_vehicle</library>
*/
native GetVehicleOccupant(vehicleid, seatid);

/**
* <library>omp_vehicle</library>
*/
Expand Down

0 comments on commit 2c43a6c

Please sign in to comment.