Maruchan Posted September 15, 2018 Share Posted September 15, 2018 Tengo errores en esta funciones dentro de mi sistema de nivel me ayudarían a solucionarlo por favor?. ---EN EL SERVER TENGO ESTE ERROR AQUI: getPlayerEXP = function(l_13_0) if not tonumber(getElementData(l_13_0, "exp")) then -- return not l_13_0 or type(l_13_0) ~= "userdata" or getElementType(l_13_0) ~= "player" or 0 -- do return end -- AQUI end outputDebugString("Bad argument @ 'getPlayerEXP' [Expected player element at argument 1, got " .. tostring(l_13_0) .. "]", 2) return false end -- EN EL CLIENTE TENGO ESTE ERROR AQUI EN LAS MIMAS LINEAS: getPlayerEXP = function(l_7_0) if not tonumber(getElementData(l_7_0, "exp")) then return not l_7_0 or type(l_7_0) ~= "userdata" or getElementType(l_7_0) ~= "player" or 0 do return end -- AQUI end outputDebugString("Bad argument @ 'getPlayerEXP' [Expected player element at argument 1, got " .. tostring(l_7_0) .. "]", 2) return false end -- LOS ERRORES SON DE: `end`expected (to close `if` at line 197) near do Link to comment
MisterQuestions Posted September 16, 2018 Share Posted September 16, 2018 (edited) Maybe no intentar descompilar resources que no son tuyos? PD: Esto va en la sección de scripting en todo caso. Edited September 16, 2018 by MisterQuestions Link to comment
Maruchan Posted September 16, 2018 Author Share Posted September 16, 2018 (edited) 11 hours ago, MisterQuestions said: Maybe no intentar descompilar resources que no son tuyos? PD: Esto va en la sección de scripting en todo caso. Lo descompile, pense que no se podia mira que intente varias veces jajaja, igual pense que lo puse en la sección de scripting tutorial, ten en cuenta que soy nuevo aqui paciencia. Edited September 16, 2018 by Maruchan Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now