1. sayfa (Toplam 1 sayfa)

Eklenti çalışmıyor ?

Gönderilme zamanı: Sal Ara 25, 2018 9:43 pm
gönderen Natural
eklentiyi kendim düzenledim 2 hata veriyordu panele yüklerken rica etsem düzeltir misiniz?

verdiği hatalar

//cstrike/addons/amxmodx/scripting/furien_mod.sma(105) : error 052: multi-dimensional arrays must be fully initialized
//cstrike/addons/amxmodx/scripting/furien_mod.sma(114) : error 052: multi-dimensional arrays must be fully initialized
//cstrike/addons/amxmodx/scripting/furien_mod.sma(271) : warning 233: symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead.

Eklenti çalışmıyor ?

Gönderilme zamanı: Sal Ara 25, 2018 9:54 pm
gönderen OneTap
// Sets maximum of items for Furien Shop
#define FURIEN_SHOP_MAX 6

// Sets maximum of items for CT Shop
#define CT_SHOP_MAX 6

satırları ile

/* Constants - Shop */

new const g_mFurienItems[FURIEN_SHOP_MAX][ShopItems] = {
{"Superknife", 10000, "CORE", "shop_t_givesk", 1, DO_NOT_CHANGE}, // 1 "Itemname", COST, "CORE / Pluginname", "Function", "Maximum", "Reset
{"50 HP", 4000, "CORE", "shop_t_givehp", 2, 1}, // 2
{"75 AP", 3500, "CORE", "shop_t_giveap", 2, 1}, // 3
{"1 HE Grenade", 1500, "CORE", "shop_givehe", 2, 1}, //4
{"1 Flash Grenade", 1500, "CORE", "shop_giveflash", 2, 1}, //5
{"No Flash", 1000, "CORE", "shop_givenf", 1, DO_NOT_CHANGE} //6 #define FURIEN_SHOP_MAX git yaz.
}

new const g_mCTItems[CT_SHOP_MAX][ShopItems] = {
{"Defuse Kit", 300, "CORE", "shop_ct_givedefkit", 1, 2}, //1
{"50 HP", 4000, "CORE", "shop_ct_givehp", 2, 1}, //2
{"75 AP", 3500, "CORE", "shop_ct_giveap", 1, 1}, //3
{"1 HE Grenade", 1500, "CORE", "shop_givehe", 1, 1}, //4
{"1 Flash Grenade", 1500, "CORE", "shop_giveflash", 1, 1}, //5
{"No Flash", 1000, "CORE", "shop_givenf", 1, DO_NOT_CHANGE}, //6 #define CT_SHOP_MAX] git yaz
}

/* Constants - Weapons */

satırlarinin sayısı eşit olmalı

271. satıra gidin client_disconnect 'i client_disconnected yapin. Warning vermiş, önemli değil.

Yapamazsın diye .sma altta verdim.

Eklenti çalışmıyor ?

Gönderilme zamanı: Sal Ara 25, 2018 10:17 pm
gönderen ByBuLuT ☪
OneTap yazdı: Sal Ara 25, 2018 9:54 pm

Kod: Tümünü seç

// Sets maximum of items for Furien Shop
#define FURIEN_SHOP_MAX 	6

// Sets maximum of items for CT Shop
#define CT_SHOP_MAX 		6

satırları ile 

/* Constants - Shop */

new const g_mFurienItems[FURIEN_SHOP_MAX][ShopItems] = {
	{"Superknife", 		10000, 	"CORE", 		"shop_t_givesk", 	1,	DO_NOT_CHANGE}, // 1 "Itemname", COST, "CORE / Pluginname", "Function", "Maximum", "Reset
	{"50 HP", 		4000, 	"CORE", 		"shop_t_givehp",	2,	1},  // 2
	{"75 AP",		3500,	"CORE", 		"shop_t_giveap",	2,	1}, // 3
	{"1 HE Grenade",	1500,	"CORE", 		"shop_givehe",		2,	1},  //4
	{"1 Flash Grenade",	1500,	"CORE", 		"shop_giveflash",	2,	1}, //5
	{"No Flash",		1000,	"CORE", 		"shop_givenf",		1,	DO_NOT_CHANGE} //6 #define FURIEN_SHOP_MAX git yaz.
}

new const g_mCTItems[CT_SHOP_MAX][ShopItems] = {
	{"Defuse Kit",		300,	"CORE", 			"shop_ct_givedefkit",		1,	2}, //1
	{"50 HP",		4000,	"CORE", 			"shop_ct_givehp",		2,	1}, //2
	{"75 AP",		3500,	"CORE", 			"shop_ct_giveap",		1,	1}, //3
	{"1 HE Grenade",	1500,	"CORE", 			"shop_givehe",			1,	1}, //4
	{"1 Flash Grenade",	1500,	"CORE", 			"shop_giveflash",		1,	1}, //5
	{"No Flash",		1000,	"CORE", 			"shop_givenf",			1,	DO_NOT_CHANGE}, //6 #define CT_SHOP_MAX] git yaz
}

/* Constants - Weapons */
satırlarinin sayısı eşit olmalı

271. satıra gidin client_disconnect 'i client_disconnected yapin. Warning vermiş, önemli değil.

Yapamazsın diye .sma altta verdim.
Kod atarken [ code ] [ /code ] parantezine alırsan çok daha iyi bir görüntü olur

Eklenti çalışmıyor ?

Gönderilme zamanı: Sal Ara 25, 2018 11:25 pm
gönderen Captan Price
Kısaca eklentiye "şu kadar item olacak burada" diye tanıtıyorsun değeri 9 giriyorsun ama belirttiğin bölümde 6 tane item var, bu hata verir. Çünkü sen tam olarak 9 tane var diyorsun eklentiye.