Version 0.51.1056.10373 ALPHA

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Version v0.51.1056.10373 was released on UNKNOWN UTC.

Changes in This Release

  • Added support for game version v1011.

  • Removed support for game version v944.

  • Added new class Debug:

  • Added Debug::IsDrawingEnabled.

  • Added Debug::IsAttached.

  • Added Debug::AttachAndBreak().

  • Added Debug::DrawLineDebug().

  • Added Debug::DrawArrowDebug().

  • Added Debug::DrawSphereDebug().

  • Added Debug::DrawWireBoxDebug().

  • Added Debug::DrawLineTraceDebug().

  • Added Debug::DrawBoxTraceDebug().

  • Added Debug::DrawLine().

  • Added Debug::DrawArrow().

  • Added Debug::DrawSphere().

  • Added Debug::DrawWireBox().

  • Added Debug::DrawLineTrace().

  • Added Debug::DrawBoxTrace().

  • Fixed an exception when accessing an old KeyboardState or MouseState instance.

  • Fixed RelationshipGroup::DoesRelationshipExist() returning incorrect values for some groups.

  • Fixed an exception occurring sometimes when plugins were loaded on startup.

  • It's now possible to pass Vector2, Vector3, Vector4, Quaternion and Rotator to NativeFunction.Natives. The components of these structs will be passed to natives as separate arguments.

  • Fixed World::GetAllFires() returning new instances for the same fires on every call.

  • Fixed that most vehicle type properties (eg. Vehicle::IsSubmarine) returned incorrect values due to a change in game patch v944.

  • Added Model::IsAmphibious.

  • Added Model::IsAmphibiousCar.

  • Added Model::IsAmphibiousQuadBike.

  • Added Vehicle::IsAmphibious.

  • Added Vehicle::IsAmphibiousCar.

  • Added Vehicle::IsAmphibiousQuadBike.

  • Fixed Vehicle::Trailer not verifying the value is valid.

  • Fixed Entity::CollisionIgnoredEntity throwing an exception when attempting to set it to null.

  • Fixed Entity::IsRecordingCollisions crashing the game.

  • Fixed both overloads of Entity::GetLastCollision() always returning Vector3.Zero.

  • Marked EnterVehicleFlags::AbortAfterOpeningDoor as obsolete. Use DoNotEnter instead.

  • Added EnterVehicleFlags::DoNotEnter.

  • Fixed bad string encoding in Game::GetHashKey().

  • Fixed bad string encoding in Game::GetLocalizedString().

  • Fixed bad string encoding in Game::DisplayHelp().

  • Fixed bad string encoding in Game::DisplaySubtitle().

  • Fixed bad string encoding in Game::DisplayNotification().

  • Fixed bad string encoding in Game::StartNewScript().

  • Fixed bad string encoding in Game::TerminateAllScriptsWithName().

  • Fixed a crash when the settings ini contained an invalid value for a setting.

  • Fixed GameFiber::Wait() freezing the game when passing 0 to it.

  • Added GameFiber::ExecuteFor().

  • Added GameFiber::ExecuteWhile().

  • Added GameFiber::ExecuteNewFor().

  • Added GameFiber::ExecuteNewWhile().

  • Added GameFiber::SleepUntil().

  • Added GameFiber::SleepWhile().

  • Added GameFiber::WaitUntil().

  • Added GameFiber::WaitWhile().

  • Added Group::Formation:

  • Added GroupFormation::Type.

  • Added GroupFormation::DistanceToLeader.

  • Added GroupFormation::SprintDistance.

  • Added GroupFormation::ResetSpacing().

  • Fixed a rare crash on launch.

  • Fixed an exception in InitializationFile::DoesKeyExist().

  • Added MathHelper::GetOffsetPosition().

  • Added multiple constructor overloads to Ped and Vehicle, including parameterless ones, and overloads to choose a model based on a predicate.

  • Added World::TraceBox().

  • Fixed TaskInvoker::CallPolice() always crashing.

  • Added several XML comments.

  • Added native name CLEAR_REMINDER_MESSAGE.

  • Added native name IS_SOCIAL_CLUB_ACTIVE.

  • Added native name GET_PREV_WEATHER_TYPE_HASH_NAME.

  • Added native name GET_NEXT_WEATHER_TYPE_HASH_NAME.

  • Added native name IS_STUNT_JUMP_MESSAGE_SHOWING.

  • Added native name GET_CONTROL_INSTRUCTIONAL_BUTTON.

  • Added native name REQUEST_MENU_PED_MODEL.

  • Added native name NETWORK_SESSION_FRIEND_MATCHMAKING.

  • Added native name NETWORK_SESSION_CREW_MATCHMAKING.

  • Added native name NETWORK_SESSION_IS_CLOSED_CREW.

  • Added native name NETWORK_SESSION_IS_SOLO.

  • Added native name NETWORK_X_AFFECTS_GAMERS.

  • Added native name NETWORK_FIND_MATCHED_GAMERS.

  • Added native name NETWORK_APPLY_TRANSITION_PARAMETER.

  • Added native name NETWORK_IS_TRANSITION_MATCHMAKING.

  • Added native name NETWORK_OPEN_TRANSITION_MATCHMAKING.

  • Added native name NETWORK_CLOSE_TRANSITION_MATCHMAKING.

  • Added native name NETWORK_OVERRIDE_CHAT_RESTRICTIONS.

  • Added native name NETWORK_OVERRIDE_RECEIVE_RESTRICTIONS.

  • Added native name NETWORK_EARN_FROM_MISSION_H.

  • Added native name NETWORK_CAN_SPEND_MONEY.

  • Added native name NETWORK_PAY_EMPLOYEE_WAGE.

  • Added native name NETWORK_PAY_UTILITY_BILL.

  • Added native name NETWORK_GET_VC_BANK_BALANCE.

  • Added native name NETWORK_GET_VC_WALLET_BALANCE.

  • Added native name NETWORK_GET_VC_BALANCE.

See Also

Other Resources