RSSy MYGO.pl Opublikowano Marzec 14, 2021 o 14:08 RSSy Udostępnij Opublikowano Marzec 14, 2021 o 14:08 Deathrun Knives Enhanced 1.3 ☞Description »Plugin was made specificly for Deathrun mod type of servers, but it can be used however and wherever you seem suitable, it has 6 different type of knives, with unique skins and abilities. The limits of the abilities are complitely customizable, so you can adjust them by your own preference. ☞Images | ☞Cvars DR cvars Code: dr_knives_prefix "Server" //it will show your desired prefix in the messages from the plugin. Knife cvars by default: dr_butterfly_gravity "0.5" //(determines the gravity ability from Knife: Butterfly, the default player gravity is 1.0, to change you need to have a float number) dr_maddie_damage "1.5" //(determines the damage ability from Knife: Maddie, it works as multiplier, so the damage is increased by 1.5* (50%), to change you need to have a float number) dr_int_visiblity "35" //(determines the invisibility ability from Knife: Introvert, it goes from 255 (max visibility) to 0 (max invisibility), to change you need to have a still number) dr_hopper_jumps "1" //(determines the amount of jumps from knife: Hopper, you can increase the extra jumps with no limits, to change you need to have a still number) dr_swift_speed "600.0" //(determines the speed ability from knife: Swift, the default player speed is 250.0, to change you need to have a float number) dr_jeff_gravity "0.6" //(determines teh gravity ability from knife: Jefferson, the default player gravity is 1.0, to change you need to have a float number) dr_jeff_speed "530.0" //(determines the speed ability from knife: Jefferson, the default player speed is 250.0, to change you need to have a float number) dr_header_info "1" [COLOR="dimgray"]//change between 1,2 and 3 //it will show a line below the title menu with description by your liking //1. will show Player's current knife, //2. will show the Time limit for the menu in secconds, //3. will show Custom message, which you can edit dr_menu_limit "1" //change between 1 and 0 //if at 1. will set a time limit for opening the menu, so players cannot spam & switch dr_menu_time "5" //if dr_menu_limit is 1 //it will count in secconds the time needed to pass between every knife change before the player can use the menu * CVARS * ☞Custmizations inside source »From the plugin you can customize several options: »For a custom header message with cvar dr_header_info: Code: Line 28: new const szCustomHeader[] = "Custom Header Message" »To change the sound of when player chooses a knife from menu Code: Line 30: new const szSoundSuccess[] = "dr_knives/success.wav" »To change the sound of when player don't have access to menu Code: Line 29:new const szSoundDeny[] = "dr_knives/denied.wav" »To change the sound of when player does an extra jump Code: Line 31:new const szSoundJump[] = "dr_knives/jump.wav" »To change the color of the screenfade effect when player picks a knife Code: Line: 11-14: #define SCREENFADE_COLOR_R 212 #define SCREENFADE_COLOR_G 170 #define SCREENFADE_COLOR_B 255 #define SCREENFADE_COLOR_A 45 »To change the VIP accessability Code: Line 16: #define VIP_FLAG ADMIN_CHAT ☞Disclaimer »This is my first code i publish, as far as my knowledge it's the best way to form it. If you have any suggestions for improvements i should made, i will try and fulfill them if they are within my ability. Updates are for sure to be expected. Attached Files knf_resources.zip (5.41 MB) Get Plugin or Get Source (dr_knives_enh.sma - 9.3 KB) Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi