RSSy MYGO.pl Opublikowano Wrzesień 12, 2023 o 18:08 RSSy Udostępnij Opublikowano Wrzesień 12, 2023 o 18:08 Virtual Weapon Slots- v0.0.1, posted at : 12/09/2023 This is a beta version of my new project. Now you can use more than 2 of the same weapons. For example, you can have 2 special AKs or AWPs. Even if you drop your AK, when you pick it up you will be able to reopen the menu and switch your AK.Short VideoInclude File Code: #if defined _virtual_weapon_slots_included #endinput #endif #define _virtual_weapon_slots_included /** * Register Weapons * * @param szName Name on Menu * @param iCSW CSW_ of weapon * @return An internal Weapon Index */ native virtual_weapon_register(const szName[], iCSW) /** * Give weapon * * @param Id Player Index * @param iSlot Weapon Internal Index * @param iCSW Weapon default ID */ native virtual_weapon_give(id, iSlot, iCSW) /** * Remove Weapon * * @param Id Player Index * @param iSlot Weapon Internal Index * @param iCSW Weapon default ID */ native virtual_weapon_take(id, iSlot, iCSW) /** * Checks if user has the weapon (Holding or not holding) * * @param Id Player Index * @param iSlot Weapon Internal Index */ native virtual_weapon_user_has(id, iSlot) /** * Gets the Weapon's Internal Index * * @param Id Player Index */ native Float:virtual_weapon_get_current(id) Despite this is not 100% finish, the main point of the plugin is working. And for that reason i am releasing it as a beta version so you can start using it. Attached Files Get Plugin or Get Source (virtual_weapon_slots.sma - 6.2 KB) virtual_weapon_slots.inc (969 Bytes) virtual_weapon_slots.txt (589 Bytes) Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi