Anubhav Posted June 28, 2014 Share Posted June 28, 2014 function setT() local wantedLevel = getPlayerWantedLevel( thePlayer ) setPlayerWantedLevel( thePlayer,wantedLevel-1) end setTimer(setT,25000,0) Line 3 : Attempt to perform a arthemtic value. I can't write exact error, sorry! Link to comment
cheez3d Posted June 28, 2014 Share Posted June 28, 2014 Where is thePlayer defined? You're trying to substract 1 from a boolean. Link to comment
Anubhav Posted June 28, 2014 Author Share Posted June 28, 2014 Fixed myself. Silly mistake 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