Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
Give Free HE Grenade 1.0
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
Author
Message
910
FarulNUMOARE
[Banned user]
Status: Offline
(since 06-09-2013 11:05)
Joined: 14 Aug 2013
Posts: 264
,
Topics: 37
Location:
Constanta.
Reputation:
-100.7
Votes
: 10
Posted: 05-09-2013, 08:16:37
| Translate post to:
... (
Click for more languages
)
Descriere
: Acest plugin ofera tuturor jucatorilor grenade HE gratis dupa un anumit timp, daca acestia nu au deja una in inventar (plugin-ul a fost facut la cererea unui utilizator).
Nume
: Give Free HE Grenade.
Versiune
: 1.0.
Autor
: KronoS # GG.
Descarcare
:
Code:
#include < amxmodx >
#include <
cstrike
>
#include < fun >
new g_Delay, g_contor[ 33 ];
public plugin_init( )
{
register_plugin( "Give Free HE Grenade", "1.0", "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 ] = 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:
Code:
give_free_hegrenade.amxx
Cvar-uri
(se adauga in fisierul
amxmodx\configs\amxx.cfg
):
freehe_delay 10
;dupa cat timp primeste jucatorul o grenada gratis.
Module necesare
(se sterge ; din fata modulului de mai jos; acestea le gasiti in fisierul
amxmodx\configs\modules.ini
):
- cstrike
- fun
Imagini
:
JB.FREAKZ.RO
este numarul 1!
0
0
Back to top
Topic locked
Topic is closed, you cannot post any messages in it anymore
Locked by
Happy =]]
, 03 December 2013 21:06
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
The time now is 06-08-2025, 00:29:23
Copyright info
Based on phpBB
ro
/
com
B
Login
I forgot my password
World of Warcraft
Login for more...
Download WoW 7.3.5
Misc
eSports
Achievements
Buy reputation with votes
Reputation trades
Forum rules
Ban list
Members list
User guide (FAQ)
World of Warcraft
View details