Thread: GTA Lua

Results 1 to 4 of 4
  1. #1
    Fungasaurus's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0

    GTA Lua

    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
    If I place this LUA file in my GTA Lua folder, will it run if i press the key? I just want to know if it is complete. (I'm a noob at this stuff)

  2. #2
    Kokotko11's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    How to use lua please?

  3. #3
    hkn54's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    1
    at the moment its not working anymore!! there was an update !

  4. #4
    .Zer0's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    331
    Reputation
    11
    Thanks
    1,181
    My Mood
    Amused
    This script I posted isn't for GTALua it is for the LUA Plguin I posted some time ago.

    There is a difference between GTALua and Lua Plugin

    And please post in the correct section @Royce
    GTA V



    Don't send me friend request. I won't accept them if I don't know you or you are new.

Similar Threads

  1. Kyron's 'Torn ACL' | Guide on how to create your own LUA hook for GTA V!
    By Khyy in forum Grand Theft Auto 5 (GTA V) Tutorials
    Replies: 19
    Last Post: 10-27-2018, 08:02 PM
  2. GTA IV New Trailer!
    By arunforce in forum General
    Replies: 4
    Last Post: 07-13-2007, 06:59 PM
  3. America's Army No Recoil/Reload LUA code.
    By MagikBullet in forum General Game Hacking
    Replies: 7
    Last Post: 02-25-2007, 10:11 AM
  4. Comedy Central GTA
    By Bull3t in forum Entertainment
    Replies: 2
    Last Post: 06-25-2006, 08:55 AM