Joaovit13 Posted August 8, 2019 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
Developer. Posted August 8, 2019 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
DNL291 Posted August 9, 2019 Posted August 9, 2019 local theShape = getElementColShape( pickup ) isElementWithinColShape( thePlayer, theShape ) Não precisa dessa função, só usar isso ^
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