Advertisement
Guest User

Zero 2 Hero Script by gir489 v1

a guest
Apr 28th, 2015
8,386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 27.59 KB | None | 0 0
  1. --
  2. -- Zero 2 Hero Script by gir489 v1 for GTALua
  3. --
  4.  
  5. zerotohero = ScriptThread("zerotohero")
  6.  
  7. local bKeyPressed = false
  8.  
  9. -- Run function
  10. function zerotohero:Run()
  11.     while self:IsRunning() do
  12.         local playerPed = natives.PLAYER.PLAYER_PED_ID()
  13.         local player = natives.PLAYER.GET_PLAYER_PED(playerPed)
  14.         local characterIndexToModify = 0 --0 is 1st character 1 is 2nd 2 is 3rd etc
  15.         local playerExists = natives.ENTITY.DOES_ENTITY_EXIST(playerPed)
  16.         if playerExists and natives.PLAYER.IS_PLAYER_ONLINE() then
  17.             if IsKeyDown(0x6E) then
  18.                 if bKeyPressed == false then
  19.                     print("Converting Zero 2 Hero")
  20.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_XP_FM"), 2165850, true)
  21.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_RACES_WON"), 50,true)
  22.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_NUMBER_SLIPSTREAMS_IN_RACE"), 110,true)
  23.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_NUMBER_TURBO_STARTS_IN_RACE"), 90,true)
  24.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMWINSEARACE"), 10,true)
  25.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMWINAIRRACE"), 1,true)
  26.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_RACES_FASTEST_LAP"), 50,true)
  27.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_USJS_FOUND"), 50,true)
  28.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_USJS_COMPLETED"), 50,true)
  29.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMRALLYWONDRIVE"), 10,true)
  30.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SAWNOFF_ENEMY_KILLS"), 600, true)
  31.                     print("Applying stats")
  32.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SCRIPT_INCREASE_STAM"), 100, true)
  33.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SCRIPT_INCREASE_STRN"), 100, true)
  34.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SCRIPT_INCREASE_LUNG"), 100, true)
  35.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SCRIPT_INCREASE_DRIV"), 100, true)
  36.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SCRIPT_INCREASE_FLY"), 100, true)
  37.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SCRIPT_INCREASE_SHO"), 100, true)
  38.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SCRIPT_INCREASE_STL"), 100, true)
  39.                     --print("Applying weapon stats")
  40.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_RACES_WON"), 100, true)
  41.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_PISTOL_KILLS"), 600, true)
  42.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CMBTPISTOL_KILLS"), 600, true)
  43.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_APPISTOL_KILLS"), 600, true)
  44.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MICROSMG_KILLS"), 600, true)
  45.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SMG_KILLS"), 600, true)
  46.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ASLTSMG_KILLS"), 600, true)
  47.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ASLTRIFLE_KILLS"), 600, true)
  48.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CRBNRIFLE_KILLS"), 600, true)
  49.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ADVRIFLE_KILLS"), 600, true)
  50.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_HVYSNIPER_KILLS"), 600, true)
  51.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SNIPERRFL_KILLS"), 600, true)
  52.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ASLTSHTGN_KILLS"), 600, true)
  53.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_PUMP_KILLS"), 600, true)
  54.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_GRNLAUNCH_KILLS"), 600, true)
  55.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_RPG_KILLS"), 600, true)
  56.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MINIGUNS_KILLS"), 600, true)
  57.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ASLTSMG_KILLS"), 600, true)
  58.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ASLTRIFLE_KILLS"), 600, true)
  59.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CRBNRIFLE_KILLS"), 600, true)
  60.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ADVRIFLE_KILLS"), 600, true)
  61.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_HVYSNIPER_KILLS"), 600, true)
  62.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SNIPERRFL_KILLS"), 600, true)
  63.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MG_KILLS"), 600, true)
  64.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CMBTMG_KILLS"), 600, true)
  65.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_PISTOL_ENEMY_KILLS"), 600, true)
  66.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CMBTPISTOL_ENEMY_KILLS"), 600, true)
  67.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_APPISTOL_ENEMY_KILLS"), 600, true)
  68.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MICROSMG_ENEMY_KILLS"), 600, true)
  69.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SMG_ENEMY_KILLS"), 600, true)
  70.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ASLTSMG_ENEMY_KILLS"), 600, true)
  71.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ASLTRIFLE_ENEMY_KILLS"), 600, true)
  72.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CRBNRIFLE_ENEMY_KILLS"), 600, true)
  73.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ADVRIFLE_ENEMY_KILLS"), 600, true)
  74.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_HVYSNIPER_ENEMY_KILLS"), 600, true)
  75.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SNIPERRFL_ENEMY_KILLS"), 600, true)
  76.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ASLTSHTGN_ENEMY_KILLS"), 600, true)
  77.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_PUMP_ENEMY_KILLS"), 600, true)
  78.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_GRNLAUNCH_ENEMY_KILLS"), 600, true)
  79.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_RPG_ENEMY_KILLS"), 600, true)
  80.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MINIGUNS_ENEMY_KILLS"), 600, true)
  81.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ASLTSMG_ENEMY_KILLS"), 600, true)
  82.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ASLTRIFLE_ENEMY_KILLS"), 600, true)
  83.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CRBNRIFLE_ENEMY_KILLS"), 600, true)
  84.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_ADVRIFLE_ENEMY_KILLS"), 600, true)
  85.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_HVYSNIPER_ENEMY_KILLS"), 600, true)
  86.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_SNIPERRFL_ENEMY_KILLS"), 600, true)
  87.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MG_ENEMY_KILLS"), 600, true)
  88.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CMBTMG_ENEMY_KILLS"), 600, true)
  89.                     natives.STATS.STAT_SET_BOOL(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMRACEWORLDRECHOLDER"), true, true)
  90.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_ENEMYDRIVEBYKILLS"), 600, true)
  91.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_USJS_COMPLETED"), 50, true)
  92.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_USJS_FOUND"), 50, true)
  93.                     natives.STATS.STAT_SET_BOOL(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMWINALLRACEMODES"), true, true)
  94.                     natives.STATS.STAT_SET_BOOL(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMWINEVERYGAMEMODE"), true, true)
  95.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_DB_PLAYER_KILLS"), 1000, true)
  96.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_KILLS_PLAYERS"), 1000, true)
  97.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMHORDWAVESSURVIVE"), 21, true)
  98.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_CAR_BOMBS_ENEMY_KILLS"), 25, true)
  99.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_TDM_MVP"), 60, true)
  100.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_HOLD_UP_SHOPS"), 20, true)
  101.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_RACES_WON"), 101, true)
  102.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_NO_ARMWRESTLING_WINS"), 21, true)
  103.                     natives.STATS.STAT_SET_BOOL(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMATTGANGHQ"), true, true)
  104.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMBBETWIN"), 50000, true)
  105.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_DM_WINS"), 51, true)
  106.                     natives.STATS.STAT_SET_BOOL(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMFULLYMODDEDCAR"), true, true)
  107.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_DM_TOTALKILLS"), 500, true)
  108.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MPPLY_DM_TOTAL_DEATHS"), 412, true)
  109.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MPPLY_TIMES_FINISH_DM_TOP_3"), 36, true)
  110.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_PLAYER_HEADSHOTS"), 623, true)
  111.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_DM_WINS"), 63, true)
  112.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_TDM_WINS"), 13, true)
  113.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_GTA_RACES_WON"), 12, true)
  114.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_GOLF_WON"), 2, true)
  115.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_SHOOTRANG_TG_WON"), 2, true)
  116.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_SHOOTRANG_RT_WON"), 2, true)
  117.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_SHOOTRANG_CT_WON"), 2, true)
  118.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_SHOOTRANG_GRAN_WON"), 2, true)
  119.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_TENNIS_WON"), 2, true)
  120.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MPPLY_TENNIS_MATCHES_WON"), 2, true)
  121.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MPPLY_TOTAL_TDEATHMATCH_WON"), 63, true)
  122.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MPPLY_TOTAL_RACES_WON"), 101, true)
  123.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MPPLY_TOTAL_DEATHMATCH_LOST"), 23, true)
  124.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MPPLY_TOTAL_RACES_LOST"), 36, true)
  125.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_25_KILLS_STICKYBOMBS"), 50, true)
  126.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_50_KILLS_GRENADES"), 50, true)
  127.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_GRENADE_ENEMY_KILLS"), 50, true)
  128.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_20_KILLS_MELEE"), 50, true)
  129.                     natives.STATS.STAT_SET_BOOL(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMMOSTKILLSSURVIVE"), true, true)
  130.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMRALLYWONDRIVE"), 2, true)
  131.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMWINSEARACE"), 2, true)
  132.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMWINAIRRACE"), 2, true)
  133.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MPPLY_TIMES_RACE_BEST_LAP"), 101, true)
  134.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_NUMBER_TURBO_STARTS_IN_RACE"), 100, true)
  135.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FM_RACES_FASTEST_LAP"), 101, true)
  136.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_NUMBER_SLIPSTREAMS_IN_RACE"), 105, true)
  137.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_MPPLY_OVERALL_CHEAT"), 0, true)
  138.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_LAP_DANCED_BOUGHT"), 50, true)
  139.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMKILLBOUNTY"), 50, true)
  140.                     natives.STATS.STAT_SET_BOOL(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMKILL3ANDWINGTARACE"), true, true)
  141.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMREVENGEKILLSDM"), 60, true)
  142.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_SECURITY_CARS_ROBBED"), 40, true)
  143.                     natives.STATS.STAT_SET_BOOL(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_AWD_FMPICKUPDLCCRATE1ST"), true, true)
  144.                     print("Applying heist garbage")
  145.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE"), -1, true)
  146.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE2"), -1, true)
  147.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE3"), -1, true)
  148.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE4"), -1, true)
  149.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE5"), -1, true)
  150.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE6"), -1, true)
  151.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE7"), -1, true)
  152.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE8"), -1, true)
  153.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE9"), -1, true)
  154.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE10"), -1, true)
  155.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE11"), -1, true)
  156.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_FM_PURCHASE12"), -1, true)
  157.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_1_FM_UNLCK"), -1, true)
  158.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_2_FM_UNLCK"), -1, true)
  159.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_3_FM_UNLCK"), -1, true)
  160.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_4_FM_UNLCK"), -1, true)
  161.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_5_FM_UNLCK"), -1, true)
  162.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_6_FM_UNLCK"), -1, true)
  163.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_7_FM_UNLCK"), -1, true)
  164.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_8_FM_UNLCK"), -1, true)
  165.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_9_FM_UNLCK"), -1, true)
  166.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_10_FM_UNLCK"), -1, true)
  167.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_11_FM_UNLCK"), -1, true)
  168.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_KIT_12_FM_UNLCK"), -1, true)
  169.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_races_won"), 100, true)
  170.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_number_turbo_starts_in_race"), 100, true)
  171.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_usjs_found"), 50, true)
  172.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_usjs_completed"), 50, true)
  173.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_awd_fmwinairrace"), 50, true)
  174.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_awd_fmwinsearace"), 50, true)
  175.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_awd_fmrallywonnav") , 50, true)
  176.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_awd_fmrallywondrive"), 500, true)
  177.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_awd_fm_races_fastest_lap"), 500, true)
  178.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_char_fm_carmod_0_unlck"), -1, true)
  179.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_char_fm_carmod_1_unlck"), -1, true)
  180.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_char_fm_carmod_2_unlck"), -1, true)
  181.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_char_fm_carmod_3_unlck"), -1, true)
  182.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_char_fm_carmod_4_unlck"), -1, true)
  183.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_char_fm_carmod_5_unlck"), -1, true)
  184.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_char_fm_carmod_6_unlck"), -1, true)
  185.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_char_fm_carmod_7_unlck"), -1, true)
  186.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_VEHICLE_1_UNLCK"), -1, true)
  187.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_VEHICLE_2_UNLCK"), -1, true)
  188.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_ABILITY_1_UNLCK"), -1, true)
  189.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_ABILITY_2_UNLCK"), -1, true)
  190.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_ABILITY_3_UNLCK"), -1, true)
  191.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_PACKAGE_1_COLLECT"), -1, true)
  192.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_PACKAGE_2_COLLECT"), -1, true)
  193.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_PACKAGE_3_COLLECT"), -1, true)
  194.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_PACKAGE_4_COLLECT"), -1, true)
  195.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_PACKAGE_5_COLLECT"), -1, true)
  196.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_PACKAGE_6_COLLECT"), -1, true)
  197.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_PACKAGE_7_COLLECT"), -1, true)
  198.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_PACKAGE_8_COLLECT"), -1, true)
  199.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_PACKAGE_9_COLLECT"), -1, true)
  200.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_HEALTH_1_UNLCK"), -1, true)
  201.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHAR_FM_HEALTH_2_UNLCK"), -1, true)
  202.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_BAD_SPORT_BITSET"), 0, true)
  203.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP" .. tostring(characterIndexToModify) .. "_CHEAT_BITSET"), 0, true)
  204.                     print("Applying global stats")
  205.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_TIMES_RACE_BEST_LAP"), 120,true)
  206.                     natives.STATS.STAT_SET_FLOAT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_OVERALL_BADSPORT"), 0, true)
  207.                     natives.STATS.STAT_SET_BOOL(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_CHAR_IS_BADSPORT"), false, true)
  208.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_BECAME_BADSPORT_NUM"), 0, true)
  209.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_REPORT_STRENGTH"), 32, true)
  210.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_COMMEND_STRENGTH"), 100, true)
  211.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_FRIENDLY"), 100, true)
  212.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_HELPFUL"), 100, true)
  213.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_GRIEFING"), 0, true)
  214.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_OFFENSIVE_LANGUAGE"), 0, true)
  215.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_OFFENSIVE_UGC"), 0, true)
  216.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_VC_HATE"), 0, true)
  217.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_GAME_EXPLOITS"), 0, true)
  218.                     natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MPPLY_ISPUNISHED"), 0, true)
  219.                     print("You are now a Hero. Congrats.")
  220.                     bKeyPressed = true
  221.                 elseif bKeyPressed == true then
  222.                     bKeyPressed = false
  223.                 end
  224.             end
  225.         end
  226.         -- Wait
  227.         self:Wait(50)
  228.     end
  229. end
  230.  
  231. -- OnError
  232. function zerotohero:OnError()
  233.     print("Failed Zero2Hero")
  234.     self:Reset()
  235. end
  236.  
  237. -- Register
  238. zerotohero:Register()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement