[Half-Life AMXX] / include / ns.inc Repository:
ViewVC logotype

Diff of /include/ns.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 43, Mon Mar 3 06:00:27 2008 UTC revision 44, Mon Oct 11 23:53:51 2010 UTC
# Line 35  Line 35 
35  forward client_changeclass(id, newclass, oldclass);  forward client_changeclass(id, newclass, oldclass);
36    
37  /**  /**
38   * Called whenever the client builds a structyure.   * Called whenever the client builds a structure.
39   *   *
40   * @param idPlayer              The player index who triggered the building.   * @param idPlayer              The player index who triggered the building.
41   * @param idStructure   The structure index that was created.   * @param idStructure   The structure index that was created.
# Line 663  Line 663 
663  native Float:ns_get_obs_energy(idObs);  native Float:ns_get_obs_energy(idObs);
664  native ns_set_obs_energy(idObs,Float:value);  native ns_set_obs_energy(idObs,Float:value);
665  native Float:ns_add_obs_energy(idObs,Float:value);  native Float:ns_add_obs_energy(idObs,Float:value);
666    
667    /**
668     * Removes an upgrade from the player's bought and active upgrade lists.
669     * This will not refund the points spent on the upgrade, nor will it
670     * immediately strip the upgrade if the player is alive.  Rather, it will
671     * make it so the player no longer receives the upgrade on spawn.
672     *
673     * @note This only works in combat.
674     * @params idPlayer             The player index to change upgrades for.
675     * @params ugprade              The impulse number for the upgrade to strip.
676     * @return                              2 for upgrade removed from player's bought and active list.
677     *                                              1 for upgrade removed from player's bought list only.
678     *                                              3 for upgrade removed from player's active list only (shouldn't happen, just incase.)
679     *                                              0 for the player didn't have the upgrade in either list.
680     */
681    native ns_remove_upgrade(idPlayer, upgrade);
682    
683  /**  /**
684   * Particle system natives   * Particle system natives
685   * -   * -

Legend:
Removed from v.43  
changed lines
  Added in v.44

Contact
ViewVC Help
Powered by ViewVC 1.0.4