Quote:
Originally Posted by HamletEagle
When you find the solution make sure to post it, it may help the others who have the same issue.
|
I was considering posting it but then i forgot since i had so little time.
This was the solution i managed to use for my function what i was looking for.
PHP Code:
new Float:vecViewAngles[3];
entity_get_vector(id, EV_VEC_angles, vecViewAngles);
vecViewAngles[1] += float(20);
entity_set_vector(id, EV_VEC_angles, vecViewAngles);
entity_set_int(id, EV_INT_fixangle, 1);
Hope it helps, whoever needs it.