HI. I'm working now in a sniper rifle for my mod. I have all the code now
implemented. Only one one one thing to finish him!!!.(Help,Help)
In the Zoom code for the sniper rifle, i need to make disappear the weapon view
model whe user turns on the zoom, and make it appear when user turns off the
zoom.
I tried HIDE_WEAPONSELECTION, but this also makes disappear the weapon
selection and the weapon ammo.
I want to show the ammo and the weapon selection when the player is in zoom
mode of the sniper.
What's the best way to do it?. (Something like EF_NODRAW for the client??).
This is (like) the code:
if (m_bSniperZoom) {
// Zoom in code (implemented)
// HUD Sniper (implemented)
// Here code to make disappear the view model of the weapon (not implemented)
} else {
// Zoom out code (implemented)
// HIDE HUD Sniper (implemented)
// Here code to make apper the view model of the weapon (not implemented).
}
Thanks for your help!!.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders