If you want to put a flag on a vehicle, you must do the following:
_Flagpole SetFlagTexture "rus_valjka.pac"
_FlagPole SetFlagOwner _MyUral
Unfourtunately, it seems you want some more tricky: a script... Well, don't ask me to do so, i'm too stupid:
- Flag1 set position: UralFront_Right (relative positioning)
- Flag2 set position: UralFront_Left
Note: If you find a way of CamCreating a small flagpole and set its texture, the script will be quite simple.
Or you could make an addon for such vehicle.