Hmm... hold on, let me try
EDIT:
Ok this works:
PHP Code:
public testtt(id){
if (!(get_user_flags(id)&ADMIN_MAP))
return PLUGIN_HANDLED
new Float:angles[3]
entity_get_vector(id,EV_VEC_v_angle,angles)
angles[0] += random_float(-20.5,20.5)
angles[1] += random_float(-21.0,21.0)
entity_set_vector ( id, EV_VEC_v_angle, angles)
entity_set_int(id,EV_INT_fixangle,1)
return PLUGIN_HANDLED
}
And it is true, the third value of angle is alweys 0..
__________________