Razor20 Posted June 5, 2022 Share Posted June 5, 2022 [2022-06-04 21:58:12] WARNING: [SCRIPTS]\Trab4\s.lua:53: Bad argument @ 'setPedAnimation' [Expected element at argument 1] [2022-06-04 21:58:12] WARNING: [SCRIPTS]\Trab4\s.lua:54: Bad argument @ 'setPedAnimation' [Expected element at argument 1] [2022-06-04 21:58:12] WARNING: [SCRIPTS]\Trab4\s.lua:55: Bad argument @ 'setPedAnimation' [Expected element at argument 1] [2022-06-04 21:58:15] WARNING: [SCRIPTS]\Trab4\s.lua:57: Bad argument @ 'destroyElement' [Expected element at argument 1] [2022-06-04 21:58:15] WARNING: [SCRIPTS]\Trab4\s.lua:58: Bad argument @ 'destroyElement' [Expected element at argument 1] [2022-06-04 21:58:15] WARNING: [SCRIPTS]\Trab4\s.lua:59: Bad argument @ 'destroyElement' [Expected element at argument 1] setPedAnimation( ped1, "ped", "WOMAN_walknorm") setPedAnimation( ped2, "ped", "WOMAN_walknorm") setPedAnimation( ped3, "ped", "WOMAN_walknorm") setTimer ( function() destroyElement (ped1) destroyElement (ped2) destroyElement (ped3) Link to comment
Mkl Posted June 5, 2022 Share Posted June 5, 2022 (edited) Hi, we need to see more code context (the whole function, attached event or command and where you create peds) Would be great if you can use code blocks, thanks. For now all I can say is that ped1, ped2, ped3 variables are nil maybe due to your setTimer. Edited June 5, 2022 by Mkl 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