Hello all,
Can anyone help me to fix this error?
I am not familiar with LUA Script writing. I am trying to learn and am asking for some help with a script that was made to assist ppl with online games that utilize a recoil system. This particular script is written for a game called Players Unknown Battlegrounds. It helps me to correct the recoil as I am disabled and cannot do the proper pull down that is required with a mouse in order to compete and enjoy this game. I have used this script for a couple of years now and after the last G HUB update, I cannot get it to work anymore.
The error I am getting is this:
I attached the entire lua script for reference.
Thanks in advance. I do hope someone can help as I really enjoy playing this game.
Can anyone help me to fix this error?
I am not familiar with LUA Script writing. I am trying to learn and am asking for some help with a script that was made to assist ppl with online games that utilize a recoil system. This particular script is written for a game called Players Unknown Battlegrounds. It helps me to correct the recoil as I am disabled and cannot do the proper pull down that is required with a mouse in order to compete and enjoy this game. I have used this script for a couple of years now and after the last G HUB update, I cannot get it to work anymore.
The error I am getting is this:
[string "LuaVM"]:212: attempt to call a nil value (field 'pow').
Code:
--------------------------------------------------------------------------
---------------- Function ------------------------------
--------------------------------------------------------------------------
function convert_sens(unconvertedSens)
return 0.002 * math.pow(10, unconvertedSens / 50)
end
I attached the entire lua script for reference.
Thanks in advance. I do hope someone can help as I really enjoy playing this game.