yes, pac got the idea from nas. i think somebody may have even said it in xxl's making of makaveli. we all know he heard it was written since he referenced the "fake thug, no love" lyrics in one of his interviews. from the interview pac said he liked nas, but felt he was gettin at them with those lyrics. and they are on the same album. i also think i read somewhere that pac really liked that whole album. this is why it is believable what nas says about how they made up before he died. becuase its hard not to respect nas on a rap level
and yes, im pretty sure jay-z and everybody else for that matter realizes pac was talking about a gun. thats common knowledge. jayz just took the beat and the hook but changed the concept