Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
Cerere plugin he fre
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Plugins - Help / Support
Author
Message
1274
detalex11
[Mentally Stable]
Status: Offline
(since 09-05-2019 18:20)
Joined: 23 Oct 2016
Posts: 26
,
Topics: 5
Location:
Romania
Reputation:
67.9
Votes
: 1
Posted: 08-03-2017, 19:02:13
| Translate post to:
... (
Click for more languages
)
Nume:he fre
Descriere plugin: da he la fiecare 25 secunde la toti
Alte detalii:
Exemplu:
0
0
Back to top
SpantaN
[Inactiv]
Status: Offline
(since 26-06-2020 18:16)
Joined: 30 Dec 2016
Posts: 1089
,
Topics: 78
Location:
Romania
Reputation:
1912.8
Votes
: 107
Posted: 08-03-2017, 20:10:09
| Translate post to:
... (
Click for more languages
)
Code:
#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", "25" );
}
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"
0
0
Back to top
detalex11
[Mentally Stable]
Status: Offline
(since 09-05-2019 18:20)
Joined: 23 Oct 2016
Posts: 26
,
Topics: 5
Location:
Romania
Reputation:
67.9
Votes
: 1
Posted: 09-03-2017, 20:57:10
| Translate post to:
... (
Click for more languages
)
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team
/hlds/web/www/amxxpc/work/scripting/he30s.sma(37) : warning 217: loose indentation
/hlds/web/www/amxxpc/work/scripting/he30s.sma(37) : error 001: expected token: "}", but found "-end of file-"
1 Error.
Could not locate output file /hlds/web/www/amxxpc/work/plugins/he30s.amx (compile failed).
nu merge sal compilez ceva nu e bine
0
0
Back to top
Zozohun
[C20H25N3O]
Status: Offline
(since 08-09-2019 17:04)
Joined: 04 Dec 2015
Posts: 2506
,
Topics: 552
Location:
Romania
Reputation:
75.5
Votes
: 393
Posted: 09-03-2017, 21:08:29
| Translate post to:
... (
Click for more languages
)
Code:
#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", "25" );
}
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"
}
}
Încearcă asa.
0
0
Back to top
detalex11
[Mentally Stable]
Status: Offline
(since 09-05-2019 18:20)
Joined: 23 Oct 2016
Posts: 26
,
Topics: 5
Location:
Romania
Reputation:
67.9
Votes
: 1
Posted: 09-03-2017, 21:11:07
| Translate post to:
... (
Click for more languages
)
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team
/hlds/web/www/amxxpc/work/scripting/he30s.sma(37) : warning 217: loose indentation
Header size: 408 bytes
Code size: 1040 bytes
Data size: 732 bytes
Stack/heap size: 16384 bytes; estimated max. usage=40 cells (160 bytes)
Total requirements: 18564 bytes
1 Warning.
Done.
tot nu merge
0
0
Back to top
SpantaN
[Inactiv]
Status: Offline
(since 26-06-2020 18:16)
Joined: 30 Dec 2016
Posts: 1089
,
Topics: 78
Location:
Romania
Reputation:
1912.8
Votes
: 107
Posted: 10-03-2017, 18:31:11
| Translate post to:
... (
Click for more languages
)
Hmm , ar trebui sa mearga
0
0
Back to top
Zozohun
[C20H25N3O]
Status: Offline
(since 08-09-2019 17:04)
Joined: 04 Dec 2015
Posts: 2506
,
Topics: 552
Location:
Romania
Reputation:
75.5
Votes
: 393
Posted: 10-03-2017, 19:11:45
| Translate post to:
... (
Click for more languages
)
Poftim:
Free Grenade:
SMA
Free Grenade:
AMXX
@detalex11
0
0
Back to top
-P!C@-
[Simply Normal]
Status: Offline
(since 21-04-2022 19:07)
Joined: 28 May 2012
Posts: 21086
,
Topics: 1601
Location:
Constanta
Reputation:
1870.3
Votes
: 781
Posted: 10-03-2017, 20:26:56
| Translate post to:
... (
Click for more languages
)
Daca nu s-=a rezolvat cu ce e mai sus uite aici:
Spoiler:
#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", "25" );
}
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" ;
}
}
0
0
Back to top
detalex11
[Mentally Stable]
Status: Offline
(since 09-05-2019 18:20)
Joined: 23 Oct 2016
Posts: 26
,
Topics: 5
Location:
Romania
Reputation:
67.9
Votes
: 1
Posted: 11-03-2017, 08:46:05
| Translate post to:
... (
Click for more languages
)
-P!C@- wrote:
Daca nu s-=a rezolvat cu ce e mai sus uite aici:
Spoiler:
#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", "25" );
}
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" ;
}
}
rezolvat multumesc
1
0
Back to top
Topic locked
Topic is closed, you cannot post any messages in it anymore
Locked by
-P!C@-
, 11 March 2017 15:22
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Plugins - Help / Support
The time now is 02-05-2025, 23:13:47
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