[Request] .LUA for adding XP

Posts 1–3 of 3 · Page 1 of 1
[Request] .LUA for adding XP
Ive been looking through some of the code from the scripts rar file in another thread to try and make some stats look a little more legit. By that i mean adding XP to match the level my account is.
I can get the current XP to appear after completing a heist but when the XP from that actually heist is added it goes back to normal. Anyone help?

The code i'm using.
[html]if managers.hud then
managers.hud:show_hint( { text = "Executed Victory!.lua" } )
end

-- Money and Level
--managers.experience:_set_current_level (82)
managers.experience:_set_xp_gained (9650321)


if managers.platformresence() == "Playing" then
local num_winners = managers.network:game():amount_of_alive_players()
managers.network:session():send_to_peers( "mission_ended", true, num_winners )
game_state_machine:change_state_by_name( "victoryscreen", { num_winners = num_winners, personal_win = true } )
end

[/html]
You should clear you progress before starting a legit thing.
I recommend you this code :

Code:
-- xp
managers.experience:debug_add_points( AMOUNT, false )
-- money
managers.money:_add_to_total(AMOUNT)
For xp, put instead of AMOUNT your amount you want, and press INSERT X times to add this amount X times.
For money the same thing, but this script will add money to your offshore account, and indirectly add some $ to your spendable cash.

Be careful if you put there lines in the same script, cause money will ba add X times too if you press INSERT many times
Thanks man, that worked perfectly.
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us