OMFG... Are you kidding mate? We are talking about particles, right? p.vel_x only will work in the body of the particle function!
GO READ FUCKING MANUAL!
Code:
function blah_particle(PARTICLE* p){
VECTOR vTemp;
// move in X direction, with speed 15:
vec_set(vTemp, vector(15, 0, 0));
// rotate vector above with camera angles (make movement local):
vec_rotate(vTemp, camera.pan);
// apply to particle:
vec_set(p.vel_x, vTemp);
}
And don't ask such a silly question, or very soon no one will answer them.