Ryan1010 Posted September 27, 2010 Share Posted September 27, 2010 (edited) Trying to make a DD/DM detector. What am i doing wrong? Edited September 27, 2010 by Guest Link to comment
Castillo Posted September 27, 2010 Share Posted September 27, 2010 give us more information, do you get any error? warning anything? /debugscript 3 in game to put debug on. Link to comment
Ryan1010 Posted September 27, 2010 Author Share Posted September 27, 2010 (edited) Well, i tried a differnt way.. I get '[2010-09-27 16:34:46] ERROR: race_misc/racegm_server.lua:10: attempt to call global 'setElementCollisionsEnabled' (a nil value)' Edited September 27, 2010 by Guest Link to comment
Castillo Posted September 27, 2010 Share Posted September 27, 2010 you are doing the script client side right? cause setElementCollisionsEnabled function its only client side. Link to comment
Ryan1010 Posted September 27, 2010 Author Share Posted September 27, 2010 The other functions don't work in client side though, how do I make then work on both? Link to comment
dzek (varez) Posted September 27, 2010 Share Posted September 27, 2010 this is totally wrong setElementCollisionsEnabled won't work on table (v is table for you) also you are mixing up serverside (getMapName()) with client side (setElementCollisionsEnabled()) Link to comment
Ryan1010 Posted September 27, 2010 Author Share Posted September 27, 2010 How do I fix it? Link to comment
Castillo Posted September 27, 2010 Share Posted September 27, 2010 How do I fix it? maybe go back to mta wiki and re-think all again? Link to comment
Ryan1010 Posted September 27, 2010 Author Share Posted September 27, 2010 Ohh, thanks for the help! .. *sarcastic* Link to comment
dzek (varez) Posted September 28, 2010 Share Posted September 28, 2010 if everything is wrong, you have to rewrite it all, so Solid's reply was a good one 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