Joaovit13 Posted August 8, 2019 Share Posted August 8, 2019 if isElementWithinPickup(player, pickup) then Estou com duvida nisso no script ta falando que ta dando erro, nessa linha falando que ta a nil value Link to comment
Developer. Posted August 8, 2019 Share Posted August 8, 2019 (edited) 30 minutes ago, Joaovit13 said: if isElementWithinPickup(player, pickup) then Estou com duvida nisso no script ta falando que ta dando erro, nessa linha falando que ta a nil value isElementWithinPickup é uma função util você pegou o código na wiki e definiu um valor a "pickup" ? Edited August 8, 2019 by Eder Link to comment
DNL291 Posted August 9, 2019 Share Posted August 9, 2019 local theShape = getElementColShape( pickup ) isElementWithinColShape( thePlayer, theShape ) Não precisa dessa função, só usar isso ^ 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