izstas Posted September 3, 2010 Posted September 3, 2010 I'm using custom MTA elements for some data that used only on server - for example, I have map file where I defined the list of camera matrixes that used when player joins, on server side. Is it rationally or not? Will MTA client receive all elements, including redundant on client side?
dzek (varez) Posted September 3, 2010 Posted September 3, 2010 maps are not saved on client, but theyre transferred to them (somehow it should be possible to copy it then btw). use server-side xml file to save such things as camera matrixes - 100% no transfer to client = protection + less bandwitdh usage Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
DiSaMe Posted September 3, 2010 Posted September 3, 2010 You can make elements invisible to clients with setElementVisibleTo, but AFAIK, there's some bug which makes this function don't work on custom elements. -
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