MP_CAR_STATS_01

Scaleform displays a car stats display. There are actually 20 of them so you can use MP_CAR_STATS_01 to MP_CAR_STATS_20 to display more than one!


BeginScaleformMovieMethod(scaleform, "SET_VEHICLE_INFOR_AND_STATS")
PushScaleformMovieMethodParameterString("Vacca") -- show the vehicle name
PushScaleformMovieMethodParameterString("Tracked and Registered") -- show the vehicle description if SET_PLAYER_NAME and / or SET_CREW_NAME are not set!
PushScaleformMovieMethodParameterString("MPCarHUD") -- texture dictionary for the image on the top right
PushScaleformMovieMethodParameterString("Pegassi") -- texture name for the image on the top right
PushScaleformMovieMethodParameterString("Top Speed") -- text for the first stats bar
PushScaleformMovieMethodParameterString("Accelrations") -- text for the second stats bar
PushScaleformMovieMethodParameterString("Braking") -- text for the third stats bar
PushScaleformMovieMethodParameterString("Traction") -- text for the fourth stats bar
PushScaleformMovieMethodParameterInt(21) -- value for the first stats bar
PushScaleformMovieMethodParameterInt(41) -- value for the second stats bar
PushScaleformMovieMethodParameterInt(61) -- value for the third stats bar
PushScaleformMovieMethodParameterInt(81) -- value for the fourth stats bar
EndScaleformMovieMethod()
 
BeginScaleformMovieMethod(scaleform, "SET_PLAYER_NAME")
PushScaleformMovieMethodParameterString("PLAYER_NAME") -- set the player name instead of the description
EndScaleformMovieMethod()
 
BeginScaleformMovieMethod(scaleform, "SET_CREW_NAME")
ScaleformMovieMethodAddParamTextureNameString_2("  COOL") -- set the crew tag instead of the description behind the playername (TWO SAPCES REQUIRED BEFORE THE STRING BECAUSE OF REASONS)
EndScaleformMovieMethod()