Code: Select all
set_user_footsteps(id, 1);
Code: Select all
give_item(id, "item_thighpack");
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
Code: Select all
set_user_footsteps(id, 1);
Code: Select all
give_item(id, "item_thighpack");
Code: Select all
#include < amxmodx >
#include < fun >
public plugin_init( )
{
register_logevent( "Func_RoundStart", 2, "1=Round_Start" );
}
public Func_RoundStart( )
{
new iPlayers[ 32 ], iNum;
get_players( iPlayers, iNum, "c" );
for( new i = 0; i < iNum; i++ )
{
set_user_footsteps(iPlayers[ i ], 0);
}
}
De exemplu am asa:FaTzZu wrote:Nu inteleg ce vrei sa spui :|
Code: Select all
Meniu:
Defuse Kit
FootSteps
Code: Select all
case 1:
{
give_item(id, "item_thighpack");
}
Pai la defuse kit cum fac?cruyff wrote:?Code: Select all
#include < amxmodx > #include < fun > public plugin_init( ) { register_logevent( "Func_RoundStart", 2, "1=Round_Start" ); } public Func_RoundStart( ) { new iPlayers[ 32 ], iNum; get_players( iPlayers, iNum, "c" ); for( new i = 0; i < iNum; i++ ) { set_user_footsteps(iPlayers[ i ], 0); } }
FaTzZu wrote:Nu inteleg ce vrei sa spui :|
Code: Select all
stock Func_GiveItem( id, bool:bGive = false )
{
if( bGive )
give_item( id, "weapon_deagle" );
}
Code: Select all
Func_GiveItem( id, false );