rhelgeby / smprojectbase

Automatically exported from code.google.com/p/smprojectbase
0 stars 0 forks source link

typo in offsetlib #72

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
/**
 * Set if a client owns NVGs.
 *  
 * @param client    The client index.
 * @param hasnvgs   True to give NVGs, false to remove.
 */
stock OffsLib_SetHasNVGs(client, bool:hasnvgs) // !!! hasnvgs !!!
{
    new offsHasNVGs = FindSendPropInfo("CCSPlayer", "m_bHasNightVision");
    SetEntData(client, offsHasNVGs, value, 1); // !!! value !!!
}

Original issue reported on code.google.com by frenzzy....@gmail.com on 26 Jun 2011 at 9:05