aintaro Posted April 2, 2014 Share Posted April 2, 2014 Hello guys, I was wondering what should be put client sided and what server sided? For example: is it safe to give a player money client sided when he gets in a mark? Can you set a player skin client sided? is that safe? I'm a bit confused on what to add client sided and what server sided. If sombody can clarifiy a bit It would help my server architecture a lot! Thanks in advance, Aintaro Link to comment
manawydan Posted April 2, 2014 Share Posted April 2, 2014 i think server side is better. for example is good use takePlayerMoney in server because is "synchronized". Link to comment
WhoAmI Posted April 2, 2014 Share Posted April 2, 2014 Giving money clientside won't work. It would be money only for him, you can't see it. It's better to do all this thing serverside. Link to comment
aintaro Posted April 2, 2014 Author Share Posted April 2, 2014 Giving money clientside won't work. It would be money only for him, you can't see it. It's better to do all this thing serverside. oh thats right, makes sense, thanks again mate, impressive knowledge of mta you have there up in your brain Link to comment
gghvcffcv Posted April 2, 2014 Share Posted April 2, 2014 Hello guys,I was wondering what should be put client sided and what server sided? For example: is it safe to give a player money client sided when he gets in a mark? Can you set a player skin client sided? is that safe? I'm a bit confused on what to add client sided and what server sided. If sombody can clarifiy a bit It would help my server architecture a lot! Thanks in advance, Aintaro Use Server side, Because if you use Client The money Won't work and if this is with a Skin only you can see the Mod Skin if you want that all the persons in the server can see the new skin So put it in Server. 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