These are the lines
ItemIndex = gxm_register_gun("AWM Wolf Rider", 5200, 21, 1, 0, "Awp")
ItemIndex = gxm_register_gun("Super Awp", 1250, 0, 0, 0, "Awp")
But still i can upgrade both Unlocks, so what is wrong in this? i dont understand it. Can anyone help?
Код за потвърждение: Избери целия код
#if defined _gxm_shop_included
#endinput
#endif
#define _gxm_shop_included
native gxm_register_gun( const Name[ ], const XP, const Level = 0, const VIP = 0, const Round = 0, const Type[ ] = 0);
native gxm_register_item( const Name[ ], const XP, const Level = 0, const VIP = 0, const Round = 0, const Type[ ] = 0);
native gxm_register_pistol( const Name[ ], const XP, const Level = 0, const VIP = 0, const Round = 0, const Type[ ] = 0);
native gxm_register_knife( const Name[ ], const XP, const Level = 0, const VIP = 0, const Round = 0, const Type[ ] = 0);
native gxm_register_grenade( const Name[ ], const XP, const Level = 0, const VIP = 0, const Round = 0, const Type[ ] = 0);
forward gxm_gun_selected( Player, ItemIndex);
forward gxm_item_selected( Player, ItemIndex);
forward gxm_pistol_selected( Player, ItemIndex);
forward gxm_knife_selected( Player, ItemIndex);
forward gxm_grenade_selected( Player, ItemIndex);