ns_remove_upgrade
- Синтаксис
-
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.
- Возвращает
- 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.