I second everything the Prince had to say and add: read the freaken tutorial
Seriously though, the very thing you "asked" us to help you with is covered in his tutorial. Any one of us could sit here and write out a code that you could use, but that does not "teach you" how to do it. Get the "concepts" from Locoweeds tutorial, then take the "concept" and work it over to what you need specificly.
Multiplayer is complex, but I have notice the more you "try" the more you learn. When you just get a code from someone and make it work in your script, you really didn't learn anything....the learning comes from attempting, failing, and then problem solving it until you get it working. ( during this process...post away..then get responses ( try to get the "concept" of what they say...impliment it...then if it still don't work...post again....get the "concept" try again..until YOU get it...then you "learn" and can move on)
We would all be glad to help you along, as we are all learning as we go along with our own games, but first take the time to take a run through the tutorial so you have the concepts of multiplayer first.
If you want to create a entity that is on the server you use my = ent_create ( , , ); // look it up in the manual
This creates an entity on the server itself and send_skill ( , ) to update all the clients.
to create an entity on a client only, you would ent_createlocal (, ,) since you want it localy and not on the server.
however if you want to create an entity localy, but also have a copy of it on the server ( and also on all clients) then you will need to use
ent_createlocal ( , , ); first
after that you would assign a pointer that you declared above the code to the entity that will be pointed to on the server
entity* player_clone; // put this pointer above the code that uses it
player_clone = ent_create ( , , );
and you can update that clone ( pointer ) using send_skill (player_clone.skill_name, send_all) // send all sends the next two skill in line after skill_name
again, if you have not at least used or read through the tutorials for multiplayer....then go do it. Yes I know....I don't have time for that....fact is you don't have time "not" to go do it if you are serious about making a game that will be multiplayer over lan or over the internet.
Multiplayer has a steep learning curve, and I am fairly new to it myself, but the more you learn, then try, then "fail", then "fix", then try again, then eventually get it working....then you start to "get it". It is a process...it takes time...be patient...and never stop learning while you make your game. Have the tenasity to be relentless....and DONT give up, eventually you will start getting bits and pieces..and once that starts happening....then it is just a matter of working it out the way you want it to go in your game.
best of luck to ya!