im trying to convert from c-script. is there any tool or guide that can help me with this? ive looked at "migrating to lite c" but it dosent tell as much as id hoped. i keep having a problem with:


Code:
action attach_weapon() 
{
set(my, PASSABLE); 
proc_mode = PROC_LATE;
while (player != null) { wait(1); } {
vec_for_vertex(temp.x,player,125); //hand palm base
vec_for_vertex(temp2.x,player,130); //hand palm tip
vec_set(my.x,temp.x);
vec_diff(temp.x,temp2.x,temp.x);
vec_to_angle(temp.pan,temp.x);
vec_set(my.pan,temp.pan);
wait(1);
}
}



it says "while (player != null) { wait(1); } {while (player != null) { wait(1); } {" is an undeclared identifier. what does that even mean? lol. so can anyone help me? ive heard so much about lite c i want to use it so bad.


Do not concern yourself with my race, personality or origin. find my record in the pits, and then make your wager.