Skip to content
View in the app

A better way to browse. Learn more.

GAMELIFE România

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[ GL ] Give Free HE Grenade 1.1

Descriere: Acest plugin ofera tuturor jucatorilor grenade HE gratis dupa un anumit timp, daca acestia nu au deja una in inventar.

#include < amxmodx >
#include < cstrike >
#include < fun >

new g_Delay, g_contor[ 33 ];

public plugin_init( )
{
	register_plugin "Give Free HE Grenade", "1.1", "KronoS # GG" ;

	g_Delay = register_cvar( "freehe_delay", "10" );
}

public client_putinserver( index )
{
	g_contor[ index ] = 0;
	set_task 1.0, "Func_GiveHe", index, _, _, "b" ;
}

public Func_GiveHe( index )
{
	if ( !is_user_alive( index ) || cs_get_user_bpammo( index , CSW_HEGRENADE ) > 0 )
		return;

	if ( g_contor[ index ] > 0 )
	{
		set_hudmessage 0, 255, 0, 0.02, 0.48, 0, 1.0, 1.0 ;
		show_hudmessage index, "Vei primi un HE gratis in %i secunde...", g_contor[ index ] ;
		g_contor[ index ]--;
		return;
	}
	else
	{
		set_hudmessage 0, 255, 0, 0.02, 0.48, 0, 1.0, 1.0 ;
		show_hudmessage index, "Ai primit un HE gratis!" ;
		g_contor[ index ] = get_pcvar_num( g_Delay );
           	give_item index, "weapon_hegrenade" ;
	}
}

Instalare:
1. Fisierul give_free_hegrenade.sma il puneti in addons/amxmodx/scripting
2. Fisierul give_free_hegrenade.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma: 

give_free_hegrenade.amxx


5. Cvar-uri (se adauga in fisierul amxmodx\configs\amxx.cfg):
freehe_delay 10 ; dupa cat timp primeste jucatorul o grenada gratis

6.Comenzi administrative (se tasteaza in consola si trebuie sa fiti administrator): 

Nu are 

7.Comenzi publice (se tasteaza in joc prin apasarea tastei Y):
Nu are


8.Module necesare (se sterge ; din fata modulului de mai jos; acestea le gasiti in fisierul amxmodx\configs\modules.ini):
cstrike
fun

 

Pluginul nu a fost testat de mine deci nu garantez daca mai merge . 

Sursa : AICI

spacer.png

 

 KICK         TWITCH         YOUTUBE         TIKTOK

Featured Replies

No posts to show

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.