Counter-Strike 1.6
[BG] GODLIKE # Dust2 / Classic + VIP
45.144.155.164:27015
de_dust2
Играчи: 10/32
de_dust2
Counter-Strike 1.6
HH-GaminG.EU #GunGame 91.134.123.43:27015 gg_snow3 Играчи: 8/28
Counter-Strike 1.6
CS1.BG | DUST2 NOSHTA GARMI [RANKED PLAY] 45.144.155.113:27015 de_dust2 Играчи: 0/31
Counter-Strike 1.6
Cs-PlovdiV.com - Aim Attack 93.123.16.4:27022 aim_tankers Играчи: 4/16
Counter-Strike 1.6
VIP
45.144.155.171:27015 ★ [ZM]ImperialCS Zombie Plague Mega|Fast SaveAP Jetpack+GoldenAK zm_aztec_defense 16/32

Invis Gunxpmod Const Type Problem Question

В този раздел можете да подавате всякакви заявки за намиране, изработка или преработка на плъгини/модове.
Аватар
Infamous2018
Извън линия
Foreigner
Foreigner
Мнения: 522
Регистриран на: 08 Апр 2018, 16:56
Се отблагодари: 14 пъти
Получена благодарност: 21 пъти

Invis Gunxpmod Const Type Problem Question

Мнение от Infamous2018 » 30 Апр 2020, 18:46

I have to different AWP Unlocks.  

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);

gxm_ul_awp_wolf_1.sma
AWP WOLF
(15.81 KiB) Свалено 117 пъти
gxm_ul_awp_wolf_1.sma
AWP WOLF
(15.81 KiB) Свалено 117 пъти
unlock_awp.sma
AWP
(3.03 KiB) Свалено 130 пъти
unlock_awp.sma
AWP
(3.03 KiB) Свалено 130 пъти
i really HOPE FOR HELP.

Аватар
Infamous2018
Извън линия
Foreigner
Foreigner
Мнения: 522
Регистриран на: 08 Апр 2018, 16:56
Се отблагодари: 14 пъти
Получена благодарност: 21 пъти

Invis Gunxpmod Const Type Problem Question

Мнение от Infamous2018 » 01 Май 2020, 15:52

From an old history with him maybe it helps anyone and help me...

Код за потвърждение: Избери целия код

static bool:Knife[33]   is this the line which block rest of unlocks when i used one knife unlock that it block rest of knife unlocks? 
19:57
const Type[ ] = 0);   i dont find anything about this  google didnt found it too. So i checked other unlocks from u but didnt found anything about it.  so can u maybe explain me this .. :/
 
Karolis, 10:13
write some string in that parameter place and you will see

10:15
i did  

const Type[ ] = 0);

Error: Expected token: "=", but found "[" on line 22

Karolis, 10:17
Sorry, it will take too long to explain. Put the string the same as other parameters like name, description etc. why are you writing "const type[]..." ??

10:17
const type was showing in gxm_shop.inc 

Karolis, 10:18
just type a string

Публикувай отговор
  • Подобни теми
    Отговори
    Преглеждания
     Последно мнение

Обратно към “Заявки за плъгини”

Кой е на линия

Потребители разглеждащи този форум: Google [Bot] и 7 госта