Otsi Vahvlist
Kuvatakse tulemused sildile ''plugina''.
Leitud 8 tulemust
-
Hei! Oleks küsimus millega saab avada minecraft plugina faili ja muuta seda teksi seal näiteks tõlgida jne
-
Tervist vahvli külastajad , Täna tahtsin teilt küsida ühe plugina nime , mida ma unustasin ära Nimelt hns plugin . et vaadake kui hüppad DuckBh/LongJumpi/Countjumpi ja muid , siis tuleb alla see palju sa hüppasid , ning ka see "Good luck" või midagi sellist . Peaksite aru saama küll mida ma mõtlen . Mina sooviks teie abi selle plugina nime ning ka selle download lingi! Download lingi & Plugina nime saata mulle palun PM'i!. Ty! Lugupidamisega Vahvli külastaja, Kkeskk!
-
Oleks siis seda pluginat vaja niiplaju, et ei annaks smoke grana... #include #include #include #include #include const VipFlags = ADMIN_LEVEL_H; enum { SCOREATTRIB_ARG_PLAYERID = 1, SCOREATTRIB_ARG_FLAGS }; enum ( SCOREATTRIB_FLAG_NONE = 0, SCOREATTRIB_FLAG_DEAD = 1, SCOREATTRIB_FLAG_BOMB, SCOREATTRIB_FLAG_VIP }; new iRound; new iEnable; new iHudMsg; new iMoney_Hs; new iMoney_Kill; new iHp_Max; new iHp_Hs; new iHp_Kill; const PRIMARY_WEAPONS_BIT_SUM = (1const SECONDARY_WEAPONS_BIT_SUM = (1 public plugin_init( ) { register_plugin( "Kadrina Vip" , "1.0.0" , "Mucx" ); register_event( "TextMsg" , "RoundRestart" , "a" , "2Game_C" ); register_event( "TextMsg" , "RoundRestart" , "a" , "2Game_w" ); register_event( "HLTV" , "NewRound" , "a" , "1=0" , "2=0" ); register_message( get_user_msgid( "ScoreAttrib" ) , "MessageScoreAttrib" ); RegisterHam( Ham_Spawn , "player" , "PlayerSpawned" , 1 ); register_event( "Damage" , "ShowDamage" , "b" , "2!0" , "3=0" , "4!0" ); register_event( "DeathMsg" , "EventDeathMsg" , "a" , "1>0" ); register_clcmd( "say /vips" , "ShowVips" ); register_clcmd( "say_team /vips" , "ShowVips" ); iEnable = register_cvar( "amx_give_weapons" , "1" ); iMoney_Hs = register_cvar( "amx_money_hs" , "800" ); iMoney_Kill = register_cvar( "amx_money_kill" , "500" ); iHp_Max = register_cvar( "amx_hp_max" , "100" ); iHp_Hs = register_cvar( "amx_hp_hs" , "30" ); iHp_Kill = register_cvar( "amx_hp_kill" , "15" ); iHudMsg = CreateHudSyncObj( ); } public RoundRestart( ) iRound = 0; public NewRound( ) iRound++; public MessageScoreAttrib( iMsgId , iDest , iReceiver ) { new iPlayer = get_msg_arg_int( SCOREATTRIB_ARG_PLAYERID ); if( is_user_alive( iPlayer ) && get_user_flags( iPlayer ) & VipFlags && cs_get_user_team( iPlayer ) == CS_TEAM_CT ) set_msg_arg_int( SCOREATTRIB_ARG_FLAGS , ARG_BYTE , SCOREATTRIB_FLAG_VIP ); } public PlayerSpawned( id ) { if( is_user_alive( id ) && get_user_flags( id ) & VipFlags && get_pcvar_num( iEnable ) == 1 ) { give_item( id , "weapon_hegrenade" ); give_item( id , "weapon_flashbang" ); give_item( id , "weapon_smokegrenade" ); cs_set_user_bpammo( id , CSW_FLASHBANG , 2 ); cs_set_user_armor( id , 100, CS_ARMOR_VESTHELM ); if( cs_get_user_team( id ) == CS_TEAM_CT ) cs_set_user_defuse( id , 1 ); if( iRound == 1 ) SecondaryMenu( id ); else PrimaryMenu( id ); } } public PrimaryMenu( id ) { new menu = menu_create( "Vali Relv:" , "PrimaryHandler" ); menu_additem( menu , "M4A1" , "1" , 0 ); menu_additem( menu , "AK47" , "2" , 0 ); if( ( iRound % 3 ) == 1 ) menu_additem( menu , "AWP" , "3" , 0 ); menu_additem( menu , "Secondary" , "4" , 0 ); menu_setprop( menu , MPROP_EXIT , MEXIT_ALL ); menu_display( id , menu , 0 ); } public PrimaryHandler( id , menu , item) { if( item == MENU_EXIT ) { menu_destroy( menu ); return PLUGIN_HANDLED; } new data[6] , iName[64]; new access , callback; menu_item_getinfo( menu , item , access , data ,5 , iName , 63 , callback ); new key = str_to_num( data ); switch( key ) { case 1: { DropWeapons( id , 1 ); give_item( id , "weapon_m4a1" ); cs_set_user_bpammo( id , CSW_M4A1 , 90 ); SecondaryMenu( id ); } case 2: { DropWeapons( id , 1 ); give_item( id , "weapon_ak47" ); cs_set_user_bpammo( id , CSW_AK47 , 90 ); SecondaryMenu( id ); } case 3: { DropWeapons( id , 1 ); give_item( id , "weapon_awp" ); cs_set_user_bpammo( id , CSW_AWP , 30 ); SecondaryMenu( id ); } case 4: { SecondaryMenu( id ); } } menu_destroy( menu ); return PLUGIN_HANDLED; } public SecondaryMenu( id ) { new menu = menu_create( "Vali Relv:" , "SecondaryHandler" ); menu_additem( menu , "USP" , "1" , 0 ); menu_additem( menu , "GLOCK" , "2" , 0 ); menu_additem( menu , "DEAGLE" , "3" , 0 ); menu_setprop( menu , MPROP_EXIT , MEXIT_ALL ); menu_display( id , menu , 0 ); } public SecondaryHandler( id , menu , item) { if( item == MENU_EXIT ) { menu_destroy( menu ); return PLUGIN_HANDLED; } new data[6] , iName[64]; new access , callback; menu_item_getinfo( menu , item , access , data ,5 , iName , 63 , callback ); new key = str_to_num( data ); switch( key ) { case 1: { DropWeapons( id , 2 ); give_item( id , "weapon_usp" ); cs_set_user_bpammo( id , CSW_USP , 100 ); } case 2: { DropWeapons( id , 2 ); give_item( id , "weapon_glock18" ); cs_set_user_bpammo( id , CSW_GLOCK18 , 120 ); } case 3: { DropWeapons( id , 2 ); give_item( id , "weapon_deagle" ); cs_set_user_bpammo( id , CSW_DEAGLE , 35 ); } } menu_destroy( menu ); return PLUGIN_HANDLED; } stock DropWeapons( id , dropwhat ) { static weapons[ 32 ] , num , i , weaponid; num = 0; get_user_weapons( id , weapons , num ); for( i = 0; i weaponid = weapons[ i ]; if( ( dropwhat == 1 && ( ( 1 static wname[ 32 ]; get_weaponname( weaponid , wname , charsmax( wname ) ); engclient_cmd( id , "drop" , wname ); } } } public ShowDamage( id ) { static iAttacker; iAttacker = get_user_attacker( id ); static iDamage; iDamage = read_data( 2 ); if( is_user_connected( iAttacker ) && ( get_user_flags( iAttacker ) & VipFlags ) ) { set_hudmessage( 0 , 100 , 200 , -1.0 , 0.55 , 2 , 0.1 , 4.0 , 0.02 , 0.02 , -1 ); ShowSyncHudMsg( iAttacker, iHudMsg, "%i^n" , iDamage ); } } public EventDeathMsg( ) { new iKiller = read_data( 1 ); if( is_user_connected( iKiller ) && ( get_user_flags( iKiller ) & VipFlags ) ) { new iMoney , iHealth , iHPMax , iHS; iMoney = cs_get_user_money( iKiller ); iHealth = get_user_health( iKiller ); iHPMax = get_pcvar_num( iHp_Max ); iHS = read_data( 3 ); if( iMoney cs_set_user_money( iKiller , clamp( iMoney - 300 + get_pcvar_num( iHS ? iMoney_Hs : iMoney_Kill ) , 0 , 16000 ) ); if( iHealth set_user_health( iKiller , clamp( iHealth + get_pcvar_num( iHS ? iHp_Hs : iHp_Kill ) , 0 , iHPMax ) ); } } public ShowVips( id ) { new szMessage[256], adminnames[33][32]; new count, len; for( new i=1; i if( is_user_connected( i ) ) if( get_user_flags( i ) & VipFlags ) get_user_name( i , adminnames[ count++ ] , 32 ); len = formatex( szMessage , 255 , "[ VIP ]^4 VIPs:^3 " ); if( count > 0 ) { for( new x; x len += formatex( szMessage[ len ] , 255-len , "%s%s " , adminnames[ x ] , x if( len > 96 ){ ColorChat( id , RED , szMessage ); len = formatex( szMessage , 255 , "[ VIP ] " ); } } ColorChat( id , RED , szMessage ); } else { len += format( szMessage[ len ] , 255-len , "Puudub" ); ColorChat( id , RED , szMessage ); } return PLUGIN_HANDLED; } Tänud ette !
-
Tervist! Ma leidsin netist siis Admin Skin Menu aga sellel 1 viga ,et skin läheb peale uus raund algab on 2 sekki ja kaob ära kas keegi oskaks FIXIDA? Kood: /* Plugin generated by AMXX-Studio*/ // Be careful! I just recomend this plugins for game mods like zombie because // if player changes team the model still on him and you cant know if CT or TT // Remember that you need put your models with right name on right folder #include #include #define PLUGIN "Skins Menu" #define VERSION "1.0" #define AUTHOR "Jhob94" public plugin_precache() { precache_model("models/player/ViP1/ViP1.mdl"); precache_model("models/player/ViP2/ViP2.mdl"); precache_model("models/player/ViP3/ViP3.mdl"); } public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd( "say /myskin", "Skins_Menu" ); } public Skins_Menu( id ) { new menu = menu_create("Select Your Skin", "skin_menu") menu_additem( menu, "Skin1", "1", 0 ); menu_additem( menu, "Skin2", "2", 0 ); menu_additem( menu, "Skin3", "3", 0 ); menu_setprop( menu, MPROP_EXIT, MEXIT_ALL ); menu_display( id, menu, 0 ); } public skin_menu(id, menu, item) { if (item == MENU_EXIT) { menu_destroy(menu) return PLUGIN_HANDLED; } new info[3] new access, callback menu_item_getinfo(menu, item, access, info, 2, _, _, callback) if(is_user_alive(id)) { new key = str_to_num(info) switch(key) { case 1: { cs_set_user_model(id, "ViP1") } case 2: { cs_set_user_model(id, "ViP2") } case 3: { cs_set_user_model(id, "ViP3") } } } return PLUGIN_CONTINUE; }
-
Esimene plugin on siis kvip plugin, sooviks siis sealt eemaldada smoke granaadi. #include #include #include #include #include const VipFlags = ADMIN_LEVEL_H; enum { SCOREATTRIB_ARG_PLAYERID = 1, SCOREATTRIB_ARG_FLAGS }; enum ( SCOREATTRIB_FLAG_NONE = 0, SCOREATTRIB_FLAG_DEAD = 1, SCOREATTRIB_FLAG_BOMB, SCOREATTRIB_FLAG_VIP }; new iRound; new iEnable; new iHudMsg; new iMoney_Hs; new iMoney_Kill; new iHp_Max; new iHp_Hs; new iHp_Kill; const PRIMARY_WEAPONS_BIT_SUM = (1 const SECONDARY_WEAPONS_BIT_SUM = (1 public plugin_init( ) { register_plugin( "Kadrina Vip" , "1.0.0" , "Mucx" ); register_event( "TextMsg" , "RoundRestart" , "a" , "2Game_C" ); register_event( "TextMsg" , "RoundRestart" , "a" , "2Game_w" ); register_event( "HLTV" , "NewRound" , "a" , "1=0" , "2=0" ); register_message( get_user_msgid( "ScoreAttrib" ) , "MessageScoreAttrib" ); RegisterHam( Ham_Spawn , "player" , "PlayerSpawned" , 1 ); register_event( "Damage" , "ShowDamage" , "b" , "2!0" , "3=0" , "4!0" ); register_event( "DeathMsg" , "EventDeathMsg" , "a" , "1>0" ); register_clcmd( "say /vips" , "ShowVips" ); register_clcmd( "say_team /vips" , "ShowVips" ); iEnable = register_cvar( "amx_give_weapons" , "1" ); iMoney_Hs = register_cvar( "amx_money_hs" , "800" ); iMoney_Kill = register_cvar( "amx_money_kill" , "500" ); iHp_Max = register_cvar( "amx_hp_max" , "100" ); iHp_Hs = register_cvar( "amx_hp_hs" , "30" ); iHp_Kill = register_cvar( "amx_hp_kill" , "15" ); iHudMsg = CreateHudSyncObj( ); } public RoundRestart( ) iRound = 0; public NewRound( ) iRound++; public MessageScoreAttrib( iMsgId , iDest , iReceiver ) { new iPlayer = get_msg_arg_int( SCOREATTRIB_ARG_PLAYERID ); if( is_user_alive( iPlayer ) && get_user_flags( iPlayer ) & VipFlags && cs_get_user_team( iPlayer ) == CS_TEAM_CT ) set_msg_arg_int( SCOREATTRIB_ARG_FLAGS , ARG_BYTE , SCOREATTRIB_FLAG_VIP ); } public PlayerSpawned( id ) { if( is_user_alive( id ) && get_user_flags( id ) & VipFlags && get_pcvar_num( iEnable ) == 1 ) { give_item( id , "weapon_hegrenade" ); give_item( id , "weapon_flashbang" ); give_item( id , "weapon_smokegrenade" ); cs_set_user_bpammo( id , CSW_FLASHBANG , 2 ); cs_set_user_armor( id , 100, CS_ARMOR_VESTHELM ); if( cs_get_user_team( id ) == CS_TEAM_CT ) cs_set_user_defuse( id , 1 ); if( iRound == 1 ) SecondaryMenu( id ); else PrimaryMenu( id ); } } public PrimaryMenu( id ) { new menu = menu_create( "Vali Relv:" , "PrimaryHandler" ); menu_additem( menu , "M4A1" , "1" , 0 ); menu_additem( menu , "AK47" , "2" , 0 ); if( ( iRound % 3 ) == 1 ) menu_additem( menu , "AWP" , "3" , 0 ); menu_additem( menu , "Secondary" , "4" , 0 ); menu_setprop( menu , MPROP_EXIT , MEXIT_ALL ); menu_display( id , menu , 0 ); } public PrimaryHandler( id , menu , item) { if( item == MENU_EXIT ) { menu_destroy( menu ); return PLUGIN_HANDLED; } new data[6] , iName[64]; new access , callback; menu_item_getinfo( menu , item , access , data ,5 , iName , 63 , callback ); new key = str_to_num( data ); switch( key ) { case 1: { DropWeapons( id , 1 ); give_item( id , "weapon_m4a1" ); cs_set_user_bpammo( id , CSW_M4A1 , 90 ); SecondaryMenu( id ); } case 2: { DropWeapons( id , 1 ); give_item( id , "weapon_ak47" ); cs_set_user_bpammo( id , CSW_AK47 , 90 ); SecondaryMenu( id ); } case 3: { DropWeapons( id , 1 ); give_item( id , "weapon_awp" ); cs_set_user_bpammo( id , CSW_AWP , 30 ); SecondaryMenu( id ); } case 4: { SecondaryMenu( id ); } } menu_destroy( menu ); return PLUGIN_HANDLED; } public SecondaryMenu( id ) { new menu = menu_create( "Vali Relv:" , "SecondaryHandler" ); menu_additem( menu , "USP" , "1" , 0 ); menu_additem( menu , "GLOCK" , "2" , 0 ); menu_additem( menu , "DEAGLE" , "3" , 0 ); menu_setprop( menu , MPROP_EXIT , MEXIT_ALL ); menu_display( id , menu , 0 ); } public SecondaryHandler( id , menu , item) { if( item == MENU_EXIT ) { menu_destroy( menu ); return PLUGIN_HANDLED; } new data[6] , iName[64]; new access , callback; menu_item_getinfo( menu , item , access , data ,5 , iName , 63 , callback ); new key = str_to_num( data ); switch( key ) { case 1: { DropWeapons( id , 2 ); give_item( id , "weapon_usp" ); cs_set_user_bpammo( id , CSW_USP , 100 ); } case 2: { DropWeapons( id , 2 ); give_item( id , "weapon_glock18" ); cs_set_user_bpammo( id , CSW_GLOCK18 , 120 ); } case 3: { DropWeapons( id , 2 ); give_item( id , "weapon_deagle" ); cs_set_user_bpammo( id , CSW_DEAGLE , 35 ); } } menu_destroy( menu ); return PLUGIN_HANDLED; } stock DropWeapons( id , dropwhat ) { static weapons[ 32 ] , num , i , weaponid; num = 0; get_user_weapons( id , weapons , num ); for( i = 0; i weaponid = weapons[ i ]; if( ( dropwhat == 1 && ( ( 1 static wname[ 32 ]; get_weaponname( weaponid , wname , charsmax( wname ) ); engclient_cmd( id , "drop" , wname ); } } } public ShowDamage( id ) { static iAttacker; iAttacker = get_user_attacker( id ); static iDamage; iDamage = read_data( 2 ); if( is_user_connected( iAttacker ) && ( get_user_flags( iAttacker ) & VipFlags ) ) { set_hudmessage( 0 , 100 , 200 , -1.0 , 0.55 , 2 , 0.1 , 4.0 , 0.02 , 0.02 , -1 ); ShowSyncHudMsg( iAttacker, iHudMsg, "%i^n" , iDamage ); } } public EventDeathMsg( ) { new iKiller = read_data( 1 ); if( is_user_connected( iKiller ) && ( get_user_flags( iKiller ) & VipFlags ) ) { new iMoney , iHealth , iHPMax , iHS; iMoney = cs_get_user_money( iKiller ); iHealth = get_user_health( iKiller ); iHPMax = get_pcvar_num( iHp_Max ); iHS = read_data( 3 ); if( iMoney cs_set_user_money( iKiller , clamp( iMoney - 300 + get_pcvar_num( iHS ? iMoney_Hs : iMoney_Kill ) , 0 , 16000 ) ); if( iHealth set_user_health( iKiller , clamp( iHealth + get_pcvar_num( iHS ? iHp_Hs : iHp_Kill ) , 0 , iHPMax ) ); } } public ShowVips( id ) { new szMessage[256], adminnames[33][32]; new count, len; for( new i=1; i if( is_user_connected( i ) ) if( get_user_flags( i ) & VipFlags ) get_user_name( i , adminnames[ count++ ] , 32 ); len = formatex( szMessage , 255 , "[ VIP ]^4 VIPs:^3 " ); if( count > 0 ) { for( new x; x len += formatex( szMessage[ len ] , 255-len , "%s%s " , adminnames[ x ] , x if( len > 96 ){ ColorChat( id , RED , szMessage ); len = formatex( szMessage , 255 , "[ VIP ] " ); } } ColorChat( id , RED , szMessage ); } else { len += format( szMessage[ len ] , 255-len , "Puudub" ); ColorChat( id , RED , szMessage ); } return PLUGIN_HANDLED; } Tänud ette!
-
Oskaks keegi öelda? http://www.upload.ee/image/2861883/az.png Tänades ette, Kevin
-
Tere, et kas keegi saaks selle plugina muuta ära nii, et kui kirjutad /admin näitaks seal all ainult neid kellel on tähele b juurdepääs. public plugin_init() { register_plugin("Admin Check", "1.51", "OneEyed") maxplayers = get_maxplayers() gmsgSayText = get_user_msgid("SayText") register_clcmd("say", "handle_say") register_cvar("amx_contactinfo", CONTACT, FCVAR_SERVER) } public handle_say(id) { new said[192] read_args(said,192) if( ( containi(said, "who") != -1 && containi(said, "admin") != -1 ) || contain(said, "/admin") != -1 ) set_task(0.1,"print_adminlist",id) return PLUGIN_CONTINUE } public print_adminlist(user) { new adminnames[33][32] new message[256] new contactinfo[256], contact[112] new id, count, x, len for(id = 1 ; id if(is_user_connected(id)) if(get_user_flags(id) & ADMIN_CHECK) get_user_name(id, adminnames[count++], 31) len = format(message, 255, "%s ADMINS ONLINE: ",COLOR) if(count > 0) { for(x = 0 ; x len += format(message[len], 255-len, "%s%s ", adminnames[x], x if(len > 96 ) { print_message(user, message) len = format(message, 255, "%s ",COLOR) } } print_message(user, message) } else { len += format(message[len], 255-len, "No admins online.") print_message(user, message) } get_cvar_string("amx_contactinfo", contact, 63) if(contact[0]) { format(contactinfo, 111, "%s Contact Server Admin -- %s", COLOR, contact) print_message(user, contactinfo) } } print_message(id, msg[]) { message_begin(MSG_ONE, gmsgSayText, {0,0,0}, id) write_byte(id) write_string(msg) message_end() } Tänud ette juba.