Skip to content

kxfvx/OG-Fortnite-Arena

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Kill Points

  • Note: Points are handled automatically by the backend. Use this only if the points pop-up doesn’t show on your screen.
auto Kills = KillerPlayerState->Get<int>(MemberOffsets::FortPlayerStateAthena::TeamKillScore);
KillerPlayerState->ClientReportTeamKill(Kills);
void ClientReportTeamKill(int32 TeamKills)
{
  static auto ClientReportTeamKillFN = FindObject<UFunction>(L"/Script/FortniteGame.FortPlayerStateAthena.ClientReportTeamKill");
  this->ProcessEvent(ClientReportTeamKillFN, &TeamKills);
}

Top Placement / Victory Royale Points

  • Param Usage: (Placement, PointsEarned) is for the top placement and the points to give the player.
  • Victory Points: Use (1, x) where 1 is the Victory Placement, and x is the points to give for a Win.
  • Placement Points: For Top-25, use (25, x) and set x to the points you want to award.
Player->ClientReportTournamentPlacementPointsScored(1, 1);
void ClientReportTournamentPlacementPointsScored(int32 Placement, int32 PointsEarned)
{
  static auto ClientReportTournamentPlacementPointsScoredFN = FindObject<UFunction>(L"/Script/FortniteGame.FortPlayerControllerAthena.ClientReportTournamentPlacementPointsScored");

  struct
  {
    int32 Placement;
    int32 PointsEarned;
  } AFortPlayerControllerAthena_ClientReportTournamentPlacementPointsScored_Params{ Placement, PointsEarned };

  this->ProcessEvent(ClientReportTournamentPlacementPointsScoredFN, &AFortPlayerControllerAthena_ClientReportTournamentPlacementPointsScored_Params);
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published