ma2med Posted May 7, 2014 Share Posted May 7, 2014 (edited) hai, i have a bug is when i dead is write this error: WARNING: client.lua:14: Bad argument @ 'destroyElement' [Expected element at argument 1, got boolean] script: -- SOLVED Edited May 7, 2014 by Guest Link to comment
Woovie Posted May 7, 2014 Share Posted May 7, 2014 dxDrawText is not returning an element. https://wiki.multitheftauto.com/wiki/DxDrawText Link to comment
ma2med Posted May 7, 2014 Author Share Posted May 7, 2014 so i cant remove it when player wasted? Link to comment
Woovie Posted May 7, 2014 Share Posted May 7, 2014 You need to removeEventHandler when they die, then addEventHandler on spawn. 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