Skip to content

Commit

Permalink
Missing natives.
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Less committed Jul 22, 2019
1 parent e718c25 commit 577eadf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions a_samp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1947,6 +1947,12 @@ native UpdatePlayer3DTextLabelText(playerid, PlayerText3D:id, color, const text[
/// </returns>
native ShowPlayerDialog(playerid, dialogid, style, const caption[], const info[], const button1[], const button2[]);

/// <summary>Get a players unique ID.</summary>
/// <param name="playerid">The player to get the unique ID of</param>
/// <param name="serial">Where to save the unique ID</param>
/// <param name="maxlen">The size of "serial"</param>
native gpci(playerid, serial[], maxlen);

// --------------------------------------------------
// Defines
// --------------------------------------------------
Expand Down
8 changes: 8 additions & 0 deletions a_vehicles.inc
Original file line number Diff line number Diff line change
Expand Up @@ -732,3 +732,11 @@ native SetVehicleVirtualWorld(vehicleid, worldid);
/// <seealso name="GetPlayerVirtualWorld"/>
/// <returns>The virtual world that the vehicle is in.</returns>
native GetVehicleVirtualWorld(vehicleid);

/// <summary>Check if a vehicle ID is valid.</summary>
/// <param name="vehicleid">The ID of the vehicle to check</param>
/// <seealso name="CreateVehicle"/>
/// <seealso name="DestroyVehicle"/>
/// <returns>true or false.</returns>
native bool:IsValidVehicle(vehicleid);

0 comments on commit 577eadf

Please sign in to comment.