Jump to content

1 Screenshot

About This File

This resource introduces the well known scaleform hud for mission/heists. Makes it easy to create it in-game

Known Issues:

  • Mission end  doesn't display black background due to unknown reason, still addressing it.

API:

Client-side API

// Client side
// Credits to kemper for his amazing scaleform class...

/* 
* Creates an intro that you see on mission start.
* style: int (1-20) Adds background to the intro banner
* header: Mission title
* subHeader: Mission secondary title
*/

mp.banners.createIntro(style, header, subHeader).then(done => { });

/* 
* Creates an objective banner
* style: (1-20) Adds background to the intro banner
* header: Mission title
* objective: Mission secondary title
*/

mp.banners.createObjective(style, header, objective).then(done => { });

/* 
* Creates an objective banner
* style: int (1-20) Adds background to the intro banner
* missionName: Mission title
* reason: Reason of pass/fail
* passed: boolean
*/

mp.banners.missionResult(style, missionName, reason, passed).then(done => { });

/* 
* Creates an mission end banner.
* style: int (1-20) Adds background to the intro banner
* cashWon: Cash Earned
* level: Object
* {
	rpGain: (int),
    rpStart: (int),
    rpMin: (int),
    rpMax: (int),
    currentRank: (int),
    nextRank: (int),
    rankUpText: (string),
    rankUpExtraText: (string)
  }
*/

mp.banners.missionEnd(style, cashWon, level).then(done => { });

 

Banner Images:

Intro:

banner1.png

 

Objective

banner2.png

 

Mission Complete

banner3.png

Mission End

banner5.png

banner4.png

If you have any issues you know what to do....

Thanks for reading this at least....

  • Like 5

User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

ragempdev

   3 of 3 members found this review helpful 3 / 3 members

If you have any issues you know what to do....

Thanks for reading this at least....

  • Like 1
  • Mask 2
  • Sad 1
Link to review
×
×
  • Create New...