06-23-2013, 01:08
what this do?
can u also say me how to setup a vector , cursorpos,bullettrace?
can u also say me how to setup a vector , cursorpos,bullettrace?
Code:
GetCursorPos(){
f=self getTagOrigin("tag_eye");
e=self Vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
l=BulletTrace(f,e,0,self)["position"];
return l;
}
vector_scal(vec, scale){vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}