native ns_remove_upgrade(idPlayer, upgrade);
Removes an upgrade from the player's bought and active upgrade lists. This will not refund the points spent on the upgrade, nor will it immediately strip the upgrade if the player is alive. Rather, it will make it so the player no longer receives the upgrade on spawn.
This only works in combat.
idPlayer The player index to change upgrades for.
ugprade The impulse number for the upgrade to strip.
2 for upgrade removed from player's bought and active list. 1 for upgrade removed from player's bought list only. 3 for upgrade removed from player's active list only (shouldn't happen, just incase.) 0 for the player didn't have the upgrade in either list.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.