Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- level_edit = ScriptThread("level_edit")
- function level_edit:Run()
- while self:IsRunning() do
- if IsKeyDown(110) then
- -- 110 = DEL
- natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP0_CHAR_XP_FM"), 2736800, true)
- natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP1_CHAR_XP_FM"), 2736800, true)
- natives.STATS.STAT_SET_INT(natives.GAMEPLAY.GET_HASH_KEY("MP2_CHAR_XP_FM"), 2736800, true)
- print("Level edited. :3")
- end
- self:Wait(50)
- end
- end
- function level_edit:OnError()
- print("We couldn't edit your level... cough.")
- self:Reset()
- end
- level_edit:Register()
Advertisement
Add Comment
Please, Sign In to add comment