I've got a few questions relating to storing information
1,) If I were to set an attr of an NPC (class) and was to use it to transfer data from server to client, could a player edit this information from the client side to effect the script?
2,) I'm wanting to store alot of information inside a string in the players attributes, I'm just wondering what the best way would be
Method A:
PHP Code:
this.item_Knife = {
{"damage", 3},
{"displayname", "Knife"},
{"weight", {0.15, 0.04}}
};
Method B: (Not too sure if this can be done with clientr and also if it's secure...)
PHP Code:
this.item_Knife.damage = 3;
this.item_Knife.displayname = "Knife";
this.item_Knife.weight = {0.15, 0.04};
Any suggestions? thanks