~ShooT Posted May 4, 2019 Share Posted May 4, 2019 Quero criar um sistema de nível no qual é ganho xp ao finalizar um trabalho. Ex: Entreguei uma carga, ganhei 10xp. Mas não sei como fazer, agradeço a ajuda! Link to comment
#DeltaSCR Posted May 7, 2019 Share Posted May 7, 2019 Você deverá na setar na data do XP do Player +10. Link to comment
Other Languages Moderators Lord Henry Posted May 7, 2019 Other Languages Moderators Share Posted May 7, 2019 local level = getElementData (thePlayer, "exp") setElementData (thePlayer, "exp", level + 10) Tipo 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