not that is not okay..

you must do something like this:

function main(){here your stuff...


player = ent_create("yourmodel.mdl",spawnpoint,player_client);
init_cameras();
input_player();
etc..
}

in input player you must set skills of YOUR player.
so something like this:
function input_player(){
while(player){
if(key_w){
player.skill1 = 1;
}
send_skill(player.skill1);
player.skill1=0; // reset is so we won't input it if we don't press w
wait(1);
}
}

and then check in the player function if skill1 is 1 and then let him walk...