local maxskills = {}
function maxskills.unload()
end
function maxskills.tick()
local playerPed = PLAYER.PLAYER_PED_ID()
local player = PLAYER.GET_PLAYER_PED(playerPed)
local playerExists = ENTITY.DOES_ENTITY_EXIST(playerPed)
if(playerExists) then
if(get_key_pressed(110)) then
local cSlot = "0" -- 0 = first char , 1 = second char ...
STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP" .. cSlot .. "SCRIPT_INCREASE_STAM"), 100, true)
STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP" .. cSlot .. "SCRIPT_INCREASE_STRN"), 100, true)
STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP" .. cSlot .. "SCRIPT_INCREASE_LUNG"), 100, true)
STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP" .. cSlot .. "SCRIPT_INCREASE_DRIV"), 100, true)
STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP" .. cSlot .. "SCRIPT_INCREASE_FLY"), 100, true)
STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP" .. cSlot .. "SCRIPT_INCREASE_SHO"), 100, true)
STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP" .. cSlot .. "SCRIPT_INCREASE_STL"), 100, true)
print("Skills set to MAX")
end
end
end
return maxskills