irinel1996 Posted September 4, 2011 Share Posted September 4, 2011 Hi! I'd like to know when a script is SERVER type or CLIENT type. This is a bit confusing. Thanks! Link to comment
Castillo Posted September 4, 2011 Share Posted September 4, 2011 Well, if you take a look in here: https://wiki.multitheftauto.com/wiki/Main_Page you'll see this: Client Functions Client Events Server Functions Server Events Some functions/events are only client side same for the server side functions/events. Example: kickPlayer is only server side, so in the script type must be "server" Another example: guiCreateWindow is only client side, all GUI/DX drawing functions are only client side, type must be "client". Sorry if you didn't get me, I'm not good when it comes to explain things. Link to comment
irinel1996 Posted September 4, 2011 Author Share Posted September 4, 2011 Well, if you take a look in here: https://wiki.multitheftauto.com/wiki/Main_Page you'll see this: Client Functions Client Events Server Functions Server Events Some functions/events are only client side same for the server side functions/events. Example: kickPlayer is only server side, so in the script type must be "server" Another example: guiCreateWindow is only client side, all GUI/DX drawing functions are only client side, type must be "client". Sorry if you didn't get me, I'm not good when it comes to explain things. I understood very well, thanks. You're a machine. Hehe... __________________ Greetings from Spain. Link to comment
IIIIlllllIII Posted September 5, 2011 Share Posted September 5, 2011 yes me too i confused of that thing but if you take a look of scripts you will know if this for server or for client function some time useing function for server and client if the client have a function then the server must have a function meta.xml server.lua client.lua if the client have function you must put function in server too that is no defrrent btween server or client the all same thing i hope you understand me im not english Link to comment
Castillo Posted September 5, 2011 Share Posted September 5, 2011 MORJM, I won't sound rude but, your explanation makes totally no sense for me, I don't know if it's because of your English, but I didn't get anything of it. Link to comment
IIIIlllllIII Posted September 5, 2011 Share Posted September 5, 2011 wtf you too i dont know anything of what you say your english too man lett me understand you Link to comment
JR10 Posted September 5, 2011 Share Posted September 5, 2011 MOJRM, his English is better than yours will ever will be. Link to comment
Castillo Posted September 5, 2011 Share Posted September 5, 2011 Maybe you didn't understood me because you don't know English that good? I vote for that. P.S: I'm Argentinian, my english won't be perfect, I learnt it by my own. Link to comment
Headshot4Fun Posted September 7, 2011 Share Posted September 7, 2011 Understand like that: Server functions/events = what runs in the server, the host... Client functions/events = what runs in your game, your gta... There are some functions that only work for server, and some only work for client. Exemple; the function kickPlayer only works via server-side, now why? Security! dxDraw functions only work in client, now why? Performance. And in not english too, im brazilian, and i lern by my own, and so you will do. Link to comment
Cadu12 Posted September 7, 2011 Share Posted September 7, 2011 Are you still learning english in your school ? 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