View Single Post
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 11-10-2018 , 18:05   Re: Anti-furien weapon menu (weapons unlock after gained xp]
Reply With Quote #8

That's okay. I asked about that referring to an old code I've seen on romanian forums, a few years ago where furien classics owned the whole furien community. The base idea is that whole weapon data is stored into an array and by that, a custom function takes care of reading all specific weapon information and puts them on the menu. For X stored weapons, seperated from primary and secondary, it loads a menu perfectly done without the effort of like doing the oldschool every menu_additem checked for being shown if player had that amount of xp to 'unlock'.
Taking an example of ListWeapon(). A native that reads from the array the weapon item name, xp required to unlock that weapon, ammo clip and other stuff.
Being able to fully produce a code that includes the word 'weapon unlock' is to get that such amount of points in order to unlock the weapon that you want and not really unlock the weakest weapon on the list. Dropping down points after each buyable item makes the mod more challenging and something to play for. Now that CS 1.6 is more less played, a free vip, unlimited money and all those other stuff that gives them priviledge, it would be more fun, cuz noone takes gaming seriously.
Also the code you wanted is on romanian forums. Just quick search.
__________________
Relaxing is offline