Quote:


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...




okay i understand this post now, so should i do the same with the functions? should i:

func_name();
proc_client (func_name);

and what about vars?

Last edited by Manslayer101; 07/31/06 16:04.

- aka Manslayer101