Destiny/Fate Plugin

В този раздел можете да подавате всякакви заявки за намиране, изработка или преработка на плъгини/модове.
Аватар
lantimilan
Извън линия
Foreigner
Foreigner
Мнения: 424
Регистриран на: 29 Ное 2017, 22:49
Се отблагодари: 31 пъти
Получена благодарност: 3 пъти

Destiny/Fate Plugin

Мнение от lantimilan » 23 Мар 2018, 09:23

Hi i download one plugin i translate but i see this plugin can use everytime , who can help me to stoped just one time to use in round , not allow to use more just one time to use every round ?

Plugin:

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

#include <amxmodx>  
#include <amxmisc>  
#include <colorchat>  
#include <fun>  
#include <cstrike> 

#define PLUGIN "SRECA"  
#define VERSION "2.0"  
#define AUTHOR "manju."  


public plugin_init() {  
    register_plugin(PLUGIN, VERSION, AUTHOR)  
    register_clcmd("say /fati", "sreca")  
    register_cvar("obavestenje","90")  
    set_task(get_cvar_float("obavestenje"),"obavestenje" , _ , _ , _ , "b")      
}  
public sreca(id)  
{ 
    if (is_user_alive(id))  
    { 
        new ime[33]             
        get_user_name(id, ime, 32)  
        switch(random_num(1,8))  
        {  
        case 1:  
        { 
            set_user_health(id, get_user_health(id)+100)  
            set_user_gravity(id, 0.5)  
            ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri 100 HP dhe morri pak gravitet.", ime)  
            ColorChat(id, GREEN, "^x04[SRECA]^x01 morri 100 HP dhe morri pak gravitet, uzvaj.")  
        }  
        case 2:  
        {  
            set_user_health(id, get_user_health(id)-70)  
            set_user_gravity(id, 1.5)  
            ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 ai humbi 70 HP dhe fitoj pak gravitet.", ime)  
            ColorChat(id, GREEN, "^x04[SRECA]^x01 Keni humbur 70 HP , dhe keni fituar gravitet.")  
        }  
        case 3: 
        { 
            give_item(id, "weapon_awp") 
            give_item(id, "weapon_deagle") 
            ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri AWP dhe Deagle.", ime) 
            ColorChat(id, GREEN, "^04[SRECA]^x01 Morret Awp dhe Deagle, urime.") 
        } 
        case 4: 
        { 
            give_item(id, "weapon_famas") 
            give_item(id, "weapon_p228") 
            ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri Famas dhe revolen p228.", ime) 
            ColorChat(id, GREEN, "^x04[SRECA]^x01 Morret Famas dhe revolen p228, urime.") 
        } 
        case 5: 
        { 
            set_user_health(id, get_user_health(id)-99) 
            set_user_armor(id, get_user_health(id)-99) 
            ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 humbi 99 HP, dhe humbi 99 % te pancerit mbrojtes.", ime) 
            ColorChat(id, GREEN,"^x04[SRECA]^x01 humbet 99 HP dhe 99% te pancerit mbrojtes, urime.") 
        } 
        case 6: 
        { 
            give_item(id, "weapon_galil") 
            ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri Galil.", ime) 
            ColorChat(id, GREEN, "^x04[SRECA]^x01 morret Galil, urime.") 
        } 
        case 7: 
        { 
            new pare = cs_get_user_money(id) 
            cs_set_user_money(id, pare+5000) 
            ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri 5000 pare.", ime) 
            ColorChat(id, GREEN, "^x04[SRECA]^x01 Morret 5000 pare, urime.") 
        } 
        case 8: 
        { 
            new pare1 = cs_get_user_money(id) 
            cs_set_user_money(id, pare1-5000) 
            ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 humbet 5000 pare.", ime) 
            ColorChat(id, GREEN, "^x04[SRECA]^x01 Humbet 5000 pare, urime.") 
        } 
        case 9:
		{
		    give_item(id, "weapon_hegrenade")
			give_item(id, "weapon_flashbang")
			ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri nje HE Granat dhe nje Flash Granat.", ime) 
            ColorChat(id, GREEN, "^x04[SRECA]^x01 morret nje HE Granat dhe nje Flash Granat, urime.") 
		}
		} 
    } 
    else 
    { 
        ColorChat(id, GREEN, "^x04[SRECA]^x01 Ne kete moment ju num mund ta perdorni komanden.") 
    } 

    return PLUGIN_CONTINUE 
} 

public obavestenje()  
{  
    ColorChat(0, GREEN, "^x04[SRECA]^x01 Nese mendoni se keni fat ateher shkruani ^x03/fati")  
} 

Аватар
TheRedShoko
Извън линия
Модератор
Модератор
Мнения: 1016
Регистриран на: 06 Окт 2016, 07:42
Местоположение: Бургас
Се отблагодари: 5 пъти
Получена благодарност: 84 пъти

Destiny/Fate Plugin

Мнение от TheRedShoko » 23 Мар 2018, 11:14

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

#include <amxmodx>  
#include <amxmisc>  
#include <colorchat>  
#include <fun>  
#include <cstrike> 

#define PLUGIN "SRECA"  
#define VERSION "2.0"  
#define AUTHOR "manju."  

new bool:g_blUsed[33];

public plugin_init() {  
	register_plugin(PLUGIN, VERSION, AUTHOR)  
	register_clcmd("say /fati", "sreca")  
	register_cvar("obavestenje","90")  
	set_task(get_cvar_float("obavestenje"),"obavestenje" , _ , _ , _ , "b")      
	register_logevent("EventRoundEnd", 2, "1=Round_End");
}  

public EventRoundEnd()
{
	for (new i = 0; i < 33; i++)
		g_blUsed[i] = false;	
}

public sreca(id)  
{ 
	if (is_user_alive(id) && !g_blUsed[id])  
	{ 
		new ime[33]             
		get_user_name(id, ime, 32)  
		switch(random_num(1,8))  
		{  
		case 1:  
		{ 
			set_user_health(id, get_user_health(id)+100)  
			set_user_gravity(id, 0.5)  
			ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri 100 HP dhe morri pak gravitet.", ime)  
			ColorChat(id, GREEN, "^x04[SRECA]^x01 morri 100 HP dhe morri pak gravitet, uzvaj.")  
		}  
		case 2:  
		{  
			set_user_health(id, get_user_health(id)-70)  
			set_user_gravity(id, 1.5)  
			ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 ai humbi 70 HP dhe fitoj pak gravitet.", ime)  
			ColorChat(id, GREEN, "^x04[SRECA]^x01 Keni humbur 70 HP , dhe keni fituar gravitet.")  
		}  
		case 3: 
		{ 
			give_item(id, "weapon_awp") 
			give_item(id, "weapon_deagle") 
			ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri AWP dhe Deagle.", ime) 
			ColorChat(id, GREEN, "^04[SRECA]^x01 Morret Awp dhe Deagle, urime.") 
		} 
		case 4: 
		{ 
			give_item(id, "weapon_famas") 
			give_item(id, "weapon_p228") 
			ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri Famas dhe revolen p228.", ime) 
			ColorChat(id, GREEN, "^x04[SRECA]^x01 Morret Famas dhe revolen p228, urime.") 
		} 
		case 5: 
		{ 
			set_user_health(id, get_user_health(id)-99) 
			set_user_armor(id, get_user_health(id)-99) 
			ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 humbi 99 HP, dhe humbi 99 % te pancerit mbrojtes.", ime) 
			ColorChat(id, GREEN,"^x04[SRECA]^x01 humbet 99 HP dhe 99% te pancerit mbrojtes, urime.") 
		} 
		case 6: 
		{ 
			give_item(id, "weapon_galil") 
			ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri Galil.", ime) 
			ColorChat(id, GREEN, "^x04[SRECA]^x01 morret Galil, urime.") 
		} 
		case 7: 
		{ 
			new pare = cs_get_user_money(id) 
			cs_set_user_money(id, pare+5000) 
			ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri 5000 pare.", ime) 
			ColorChat(id, GREEN, "^x04[SRECA]^x01 Morret 5000 pare, urime.") 
		} 
		case 8: 
		{ 
			new pare1 = cs_get_user_money(id) 
			cs_set_user_money(id, pare1-5000) 
			ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 humbet 5000 pare.", ime) 
			ColorChat(id, GREEN, "^x04[SRECA]^x01 Humbet 5000 pare, urime.") 
		} 
		case 9:
		{
			give_item(id, "weapon_hegrenade")
			give_item(id, "weapon_flashbang")
			ColorChat(0, GREEN, "^x04[SRECA]^x01 ^x03%s^x01 morri nje HE Granat dhe nje Flash Granat.", ime) 
			ColorChat(id, GREEN, "^x04[SRECA]^x01 morret nje HE Granat dhe nje Flash Granat, urime.") 
		}
		} 
		
		g_blUsed[id] = true;
	} 
	else 
	{ 
		ColorChat(id, GREEN, "^x04[SRECA]^x01 Ne kete moment ju num mund ta perdorni komanden.") 
	} 

	return PLUGIN_CONTINUE 
} 

public obavestenje()  
{  
	ColorChat(0, GREEN, "^x04[SRECA]^x01 Nese mendoni se keni fat ateher shkruani ^x03/fati")  
} 

Аватар
lantimilan
Извън линия
Foreigner
Foreigner
Мнения: 424
Регистриран на: 29 Ное 2017, 22:49
Се отблагодари: 31 пъти
Получена благодарност: 3 пъти

Destiny/Fate Plugin

Мнение от lantimilan » 23 Мар 2018, 13:18

Thanks very much bro , can you tell me why show this warn http://prntscr.com/iv9eku

Аватар
DoPe ;]]
Извън линия
Потребител
Потребител
Мнения: 402
Регистриран на: 27 Фев 2017, 22:10
Обратна връзка:

Destiny/Fate Plugin

Мнение от DoPe ;]] » 23 Мар 2018, 13:20

You can ignore this error, it doesn't doing any harm things.
The Best Deathrun Server: 79.124.49.91:27019
The Best Respawn Server: 79.124.49.88:27021

Аватар
OciXCrom
Извън линия
Администратор
Администратор
Мнения: 7206
Регистриран на: 06 Окт 2016, 19:20
Местоположение: /resetscore
Се отблагодари: 117 пъти
Получена благодарност: 1295 пъти
Обратна връзка:

Destiny/Fate Plugin

Мнение от OciXCrom » 23 Мар 2018, 23:38

It's shows because of improper use of spaces and tabs. You can ignore it, as DoPe said. I edited the code above so it won't show anymore.

Аватар
lantimilan
Извън линия
Foreigner
Foreigner
Мнения: 424
Регистриран на: 29 Ное 2017, 22:49
Се отблагодари: 31 пъти
Получена благодарност: 3 пъти

Destiny/Fate Plugin

Мнение от lantimilan » 24 Мар 2018, 09:15

Yes thanks i add some new cvar but i dont know why show some error when i try compile can you check OxiCrom

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

#include <amxmodx>  
#include <amxmisc>  
#include <colorchat>  
#include <fun>  
#include <cstrike> 

#define PLUGIN "Fati/Llotaria"  
#define VERSION "2.0"  
#define AUTHOR "manju."  

new bool:g_blUsed[33];

public plugin_init() {  
	register_plugin(PLUGIN, VERSION, AUTHOR)  
	register_clcmd("say /fati", "llotaria")  
	set_task(200.0, "message", _, _, _, "b");      
	register_logevent("EventRoundEnd", 2, "1=Round_End");
}  

public EventRoundEnd()
{
	for (new i = 0; i < 33; i++)
		g_blUsed[i] = false;	
}

public llotaria(id)  
{ 
	if (is_user_alive(id) && !g_blUsed[id])  
	{ 
		new ime[33]             
		get_user_name(id, ime, 32)  
		switch(random_num(1,20))  
		{  
		case 1:  
		{ 
			set_user_health(id, get_user_health(id)+100)  
			set_user_gravity(id, 0.5)  
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri^4 100HP ^1dhe morri pak ^4Gravitet.", ime)  
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret^4 100HP ^1dhe morret pak ^4Gravitet.")  
		}  
		case 2:  
		{  
			set_user_health(id, get_user_health(id)-70)  
			set_user_gravity(id, 1.5)  
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1humbi^4 70HP dhe fitoj pak ^4Gravitet.", ime)  
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Na vjen keq keni humbur^4 70HP, dhe keni fituar pak ^Gravitet.")  
		}  
		case 3: 
		{ 
			give_item(id, "weapon_awp") 
			give_item(id, "weapon_deagle") 
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4AWP ^1dhe ^4Deagle.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4AWP ^1dhe ^4Deagle.") 
		} 
		case 4: 
		{ 
			give_item(id, "weapon_famas") 
			give_item(id, "weapon_p228") 
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4Famas ^1dhe revolen ^4p228.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4Famas ^1dhe revolen ^4p228.") 
		} 
		case 5: 
		{ 
			set_user_health(id, get_user_health(id)-99) 
			set_user_armor(id, get_user_health(id)-99) 
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1humbi^4 99HP, ^1dhe humbi^4 99% ^1te pancerit mbrojtes.", ime) 
			ColorChat(id, GREEN,"^3[^4Fati^3] ^1Na vjen keq ju humbet^4 99HP ^1dhe^4 99% ^1te pancerit mbrojtes.") 
		} 
		case 6: 
		{ 
		    give_item(id, "weapon_galil")
            set_user_armor(id, get_user_health(id)+66)			
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri nje arme ^4Galil ^1dhe^4 66AP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret nje arme ^4Galil ^1dhe^4 66AP.") 
		} 
		case 7: 
		{  
		    cs_set_user_money(id, +16000) 
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri^4 16000$.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret^4 16000$.") 
		} 
		case 8: 
		{  
			cs_set_user_money(id, -10000) 
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1humbi^4 10000$.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Na vjen keq ju humbet^4 10000$.") 
		} 
		case 9:
		{
			give_item(id, "weapon_hegrenade")
			give_item(id, "weapon_flashbang")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri nje ^4HE Granat ^1dhe nje ^4Flash Granat.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret nje ^4HE Granat ^1dhe nje ^4Flash Granat.") 
		}
		case 10:
		{
			give_item(id, "weapon_ak47")
			give_item(id, "weapon_deagle")
			give_item(id, "weapon_hegrenade")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4AK-47 ^1dhe ^4Deagle ^1dhe nje ^4HE Granat.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4AK-47 ^1dhe ^4Deagle ^1dhe nje ^4He Granat.") 
		}
		case 11:
		{
			give_item(id, "weapon_m4a1")
			give_item(id, "weapon_deagle")
			give_item(id, "weapon_hegrenade")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4M4A1 ^1dhe ^4Deagle ^1dhe nje ^4HE Granat.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4M4A1 ^1dhe ^4Deagle ^1dhe nje ^4HE Granat.") 
		}
		case 12:
		{
			give_item(id, "weapon_aug")
			give_item(id, "weapon_glock18")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4AUG ^1dhe nje ^4Glock18.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4AUG ^1dhe nje ^4Glock18.") 
		}
		case 13:
		{
			give_item(id, "weapon_sg552")
			give_item(id, "weapon_usp")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1 morri ^4SG552 ^1dhe nje ^4USP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4SG552 ^1dhe nje ^4USP.") 
		}
		case 14:
		{
			give_item(id, "weapon_hegrenade")
			give_item(id, "weapon_fiveseven")
			set_user_armor(id, get_user_health(id)+95) 
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4HE Granat ^1dhe ^4FiveSeven ^1dhe^4 95HP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4HE Granat ^1dhe ^4FiveSeven ^1dhe^4 95HP.") 
		}
		case 15:
		{
			give_item(id, "weapon_awp")
			give_item(id, "weapon_flashbang")
			set_user_health(id, get_user_health(id)+55)
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4AWP ^1dhe ^4Flash Granat ^1dhe^4 55HP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4AWP ^1dhe ^4Flash Granat ^1dhe^4 55HP.") 
		}
		case 16:
		{
			give_item(id, "weapon_m249")
			give_item(id, "weapon_deagle")
			give_item(id, "weapon_hegrenade")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4M249 ^1dhe ^4Deagle ^1dhe nje ^4Flash Granat.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4M249 ^1dhe ^4Deagle ^1dhe nje ^4Flash Granat.") 
		}
		case 17:
		{
			give_item(id, "weapon_scout")
			set_user_gravity(id, 0.2)
			give_item(id, "weapon_hegrenade")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4Scout ^1dhe ^4Gravitet ^1dhe nje ^4HE Granat.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4Scout ^1dhe ^4Gravitet ^1dhe nje ^4HE Granat.") 
		}
		case 18:
		{
			give_item(id, "weapon_mp5")
			give_item(id, "weapon_elite")
			set_user_armor(id, get_user_health(id)+85)
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4MP5 ^1dhe ^4Elite ^1dhe^4 85AP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4MP5 ^1dhe ^4Elite ^1dhe^4 85AP.") 
		}
		case 19:
		{
			give_item(id, "weapon_m4a1")
			give_item(id, "weapon_usp")
			set_user_health(id, get_user_health(id)+67)
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4M4A1 ^1dhe ^4USP ^1dhe^4 67HP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4M4A1 ^1dhe ^4USP ^1dhe^4 67HP.") 
		}
		case 20:
		{
			give_item(id, "weapon_ak47")
			cs_set_user_money(id, +10000)
			set_user_armor(id, get_user_health(id)+99)
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4AK-47 ^1dhe^4 10000$ ^1dhe^4 99AP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4AK-47 ^1dhe^4 10000$ ^1dhe^4 99AP.") 
		}
		} 
		
		g_blUsed[id] = true;
	} 
	else 
	{ 
		ColorChat(id, GREEN, "^3[^4Fati^4] ^1Na vjen keq, ju keni te drejt vetem 1 here ta perdorni kete komand gjate rundit.") 
	} 

	return PLUGIN_CONTINUE 
} 

public message()
    ColorChat(0, GREEN, "^3[^4Fati^3] ^1Nese mendoni se keni fat ne loje ateher provoni ate, shkruani ^4/fati");   

Аватар
OciXCrom
Извън линия
Администратор
Администратор
Мнения: 7206
Регистриран на: 06 Окт 2016, 19:20
Местоположение: /resetscore
Се отблагодари: 117 пъти
Получена благодарност: 1295 пъти
Обратна връзка:

Destiny/Fate Plugin

Мнение от OciXCrom » 24 Мар 2018, 16:25

Line 47: ^Gravitet

You wrote only ^ instead of ^4.
Line 78: cs_set_user_money(id, +16000)
Line 84: cs_set_user_money(id, -10000)
Line 176: cs_set_user_money(id, +10000)

You can't just use + and - to add/substract money. You need to add/substract them to/from the user's money like this:

cs_set_user_money(id, cs_get_user_money(id) + 16000)
cs_set_user_money(id, cs_get_user_money(id) - 10000)

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

#include <amxmodx>  
#include <amxmisc>  
#include <colorchat>  
#include <fun>  
#include <cstrike> 

#define PLUGIN "Fati/Llotaria"  
#define VERSION "2.0"  
#define AUTHOR "manju."  

new bool:g_blUsed[33];

public plugin_init() {  
	register_plugin(PLUGIN, VERSION, AUTHOR)  
	register_clcmd("say /fati", "llotaria")  
	set_task(200.0, "message", _, _, _, "b");      
	register_logevent("EventRoundEnd", 2, "1=Round_End");
}  

public EventRoundEnd()
{
	for (new i = 0; i < 33; i++)
		g_blUsed[i] = false;	
}

public llotaria(id)  
{ 
	if (is_user_alive(id) && !g_blUsed[id])  
	{ 
		new ime[33]             
		get_user_name(id, ime, 32)  
		switch(random_num(1,20))  
		{  
		case 1:  
		{ 
			set_user_health(id, get_user_health(id)+100)  
			set_user_gravity(id, 0.5)  
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri^4 100HP ^1dhe morri pak ^4Gravitet.", ime)  
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret^4 100HP ^1dhe morret pak ^4Gravitet.")  
		}  
		case 2:  
		{  
			set_user_health(id, get_user_health(id)-70)  
			set_user_gravity(id, 1.5)  
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1humbi^4 70HP dhe fitoj pak ^4Gravitet.", ime)  
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Na vjen keq keni humbur^4 70HP, dhe keni fituar pak ^4Gravitet.")  
		}  
		case 3: 
		{ 
			give_item(id, "weapon_awp") 
			give_item(id, "weapon_deagle") 
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4AWP ^1dhe ^4Deagle.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4AWP ^1dhe ^4Deagle.") 
		} 
		case 4: 
		{ 
			give_item(id, "weapon_famas") 
			give_item(id, "weapon_p228") 
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4Famas ^1dhe revolen ^4p228.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4Famas ^1dhe revolen ^4p228.") 
		} 
		case 5: 
		{ 
			set_user_health(id, get_user_health(id)-99) 
			set_user_armor(id, get_user_health(id)-99) 
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1humbi^4 99HP, ^1dhe humbi^4 99% ^1te pancerit mbrojtes.", ime) 
			ColorChat(id, GREEN,"^3[^4Fati^3] ^1Na vjen keq ju humbet^4 99HP ^1dhe^4 99% ^1te pancerit mbrojtes.") 
		} 
		case 6: 
		{ 
			give_item(id, "weapon_galil")
			set_user_armor(id, get_user_health(id)+66)			
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri nje arme ^4Galil ^1dhe^4 66AP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret nje arme ^4Galil ^1dhe^4 66AP.") 
		} 
		case 7: 
		{  
			cs_set_user_money(id, cs_get_user_money(id) + 16000)
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri^4 16000$.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret^4 16000$.") 
		} 
		case 8: 
		{  
			cs_set_user_money(id, cs_get_user_money(id) - 10000)
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1humbi^4 10000$.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Na vjen keq ju humbet^4 10000$.") 
		} 
		case 9:
		{
			give_item(id, "weapon_hegrenade")
			give_item(id, "weapon_flashbang")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri nje ^4HE Granat ^1dhe nje ^4Flash Granat.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret nje ^4HE Granat ^1dhe nje ^4Flash Granat.") 
		}
		case 10:
		{
			give_item(id, "weapon_ak47")
			give_item(id, "weapon_deagle")
			give_item(id, "weapon_hegrenade")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4AK-47 ^1dhe ^4Deagle ^1dhe nje ^4HE Granat.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4AK-47 ^1dhe ^4Deagle ^1dhe nje ^4He Granat.") 
		}
		case 11:
		{
			give_item(id, "weapon_m4a1")
			give_item(id, "weapon_deagle")
			give_item(id, "weapon_hegrenade")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4M4A1 ^1dhe ^4Deagle ^1dhe nje ^4HE Granat.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4M4A1 ^1dhe ^4Deagle ^1dhe nje ^4HE Granat.") 
		}
		case 12:
		{
			give_item(id, "weapon_aug")
			give_item(id, "weapon_glock18")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4AUG ^1dhe nje ^4Glock18.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4AUG ^1dhe nje ^4Glock18.") 
		}
		case 13:
		{
			give_item(id, "weapon_sg552")
			give_item(id, "weapon_usp")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1 morri ^4SG552 ^1dhe nje ^4USP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4SG552 ^1dhe nje ^4USP.") 
		}
		case 14:
		{
			give_item(id, "weapon_hegrenade")
			give_item(id, "weapon_fiveseven")
			set_user_armor(id, get_user_health(id)+95) 
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4HE Granat ^1dhe ^4FiveSeven ^1dhe^4 95HP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4HE Granat ^1dhe ^4FiveSeven ^1dhe^4 95HP.") 
		}
		case 15:
		{
			give_item(id, "weapon_awp")
			give_item(id, "weapon_flashbang")
			set_user_health(id, get_user_health(id)+55)
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4AWP ^1dhe ^4Flash Granat ^1dhe^4 55HP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4AWP ^1dhe ^4Flash Granat ^1dhe^4 55HP.") 
		}
		case 16:
		{
			give_item(id, "weapon_m249")
			give_item(id, "weapon_deagle")
			give_item(id, "weapon_hegrenade")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4M249 ^1dhe ^4Deagle ^1dhe nje ^4Flash Granat.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4M249 ^1dhe ^4Deagle ^1dhe nje ^4Flash Granat.") 
		}
		case 17:
		{
			give_item(id, "weapon_scout")
			set_user_gravity(id, 0.2)
			give_item(id, "weapon_hegrenade")
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4Scout ^1dhe ^4Gravitet ^1dhe nje ^4HE Granat.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4Scout ^1dhe ^4Gravitet ^1dhe nje ^4HE Granat.") 
		}
		case 18:
		{
			give_item(id, "weapon_mp5")
			give_item(id, "weapon_elite")
			set_user_armor(id, get_user_health(id)+85)
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4MP5 ^1dhe ^4Elite ^1dhe^4 85AP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4MP5 ^1dhe ^4Elite ^1dhe^4 85AP.") 
		}
		case 19:
		{
			give_item(id, "weapon_m4a1")
			give_item(id, "weapon_usp")
			set_user_health(id, get_user_health(id)+67)
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4M4A1 ^1dhe ^4USP ^1dhe^4 67HP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4M4A1 ^1dhe ^4USP ^1dhe^4 67HP.") 
		}
		case 20:
		{
			give_item(id, "weapon_ak47")
			cs_set_user_money(id, cs_set_user_money(id, cs_get_user_money(id) + 10000))
			set_user_armor(id, get_user_health(id)+99)
			ColorChat(0, GREEN, "^3[^4Fati^3] ^3%s ^1morri ^4AK-47 ^1dhe^4 10000$ ^1dhe^4 99AP.", ime) 
			ColorChat(id, GREEN, "^3[^4Fati^3] ^1Urime ju morret ^4AK-47 ^1dhe^4 10000$ ^1dhe^4 99AP.") 
		}
		} 
		
		g_blUsed[id] = true;
	} 
	else 
	{ 
		ColorChat(id, GREEN, "^3[^4Fati^4] ^1Na vjen keq, ju keni te drejt vetem 1 here ta perdorni kete komand gjate rundit.") 
	} 

	return PLUGIN_CONTINUE 
} 

public message()
	ColorChat(0, GREEN, "^3[^4Fati^3] ^1Nese mendoni se keni fat ne loje ateher provoni ate, shkruani ^4/fati");

Аватар
lantimilan
Извън линия
Foreigner
Foreigner
Мнения: 424
Регистриран на: 29 Ное 2017, 22:49
Се отблагодари: 31 пъти
Получена благодарност: 3 пъти

Destiny/Fate Plugin

Мнение от lantimilan » 24 Мар 2018, 16:36

Thank you very much for all help , you can close this topic

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

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

Кой е на линия

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