Desaster Posted November 4, 2013 Share Posted November 4, 2013 well I am not pro in error tanslating so what mean these following errors ??? [2013-11-04 01:39:46] WARNING: test\s.lua:62: Bad 'ped' pointer @ 'getPedOccupiedVehicle'(1) [2013-11-04 01:39:46] WARNING: test\s.lua:63: Bad argument @ 'getElementHealth' [Expected element at argument 1, got boolean] [2013-11-04 01:39:46] ERROR: test\s.lua:63: attempt to perform arithmetic on a boolean value especially the last one !! thnx for reading Link to comment
Renkon Posted November 4, 2013 Share Posted November 4, 2013 it means that the arugment used in function at line 62 is not a ped pointer and then theres no vehicle so getelementhealth wont work Link to comment
Ab-47 Posted November 4, 2013 Share Posted November 4, 2013 Post your code, we'll see what we can do to fix it. Link to comment
Desaster Posted November 4, 2013 Author Share Posted November 4, 2013 it means that the arugment used in function at line 62 is not a ped pointer and then theres no vehicle so getelementhealth wont work but the ped is in a vehicle when he touches the marke Link to comment
pa3ck Posted November 4, 2013 Share Posted November 4, 2013 Could you post the line with the "getPedOccupiedVehicle"? The last error line is, that, you are trying to perform some maths on a value that is boolean like '<' '>' 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