If you buy from an out-of-county dealer, that is OK, but just be aware of Clark County Code 12.04.110. That law requires any resident to register any pistol within 72 hours of "receiving title" to said pistol. Technically, if your friend is a resident of Clark County, even if the gun is in a box and wrapped, he has title to it until it becomes gifted to you, and would be required to register it in his name. Just have him purchase it less than 72 hours before giving it to you to ensure compliance.
Per Clark County Code 12.04.220:
Any person who violates any of the provisions of Sections 12.04.010 through 12.04.210 is guilty of a misdemeanor and upon conviction shall be punished by imprisonment in the county jail for a term not to exceed six months or by a fine of not to exceed five hundred dollars, or by both.Also, be aware of the following County code. It is technically preempted by state law (NRS 244.364), but it's entirely possible the police department will try to enforce it anyway.
CCC 12.04.210 - Unlawful transfer of firearms capable of being concealed.In other words, the seller, or gift-giver, must make sure you register the pistol. In the case of purchasing an out-of-county weapon that is not automatically registered by the retail store, you may get questions about why the pistol was not registered by the former owner/purchaser.
It is unlawful for any person to sell, give away or permanently pass possession to another person of any pistol, revolver or other firearm capable of being concealed, unless the transferor thereof first registers, or causes the weapon to be registered to the transferee and new owner thereof, either with the sheriff, or with a police department of one of the incorporated cities of Clark County.
Good luck! And please post your results.