RSSy MYGO.pl Opublikowano Maj 13, 2018 o 06:15 RSSy Udostępnij Opublikowano Maj 13, 2018 o 06:15 Description A gamemode of deception and murder, based off of Murder in the Dark. One person is a murderer with a knife, who is trying to secretly kill off the other players. The other players must use their wits to find out who it is and kill them first. Unfortunately they only have the one gun between them. (Source)Instructions After adding all the files in the correct places, you need to add a MySQL database to make the plugin work. Go to configs/databases.cfg and add "Murder" with your own database information. Example: Code: "Murder" { "driver" "default" "host" "YourHost" "database" "YourDatabase" "user" "YourUser" "pass" "YourPassword" //"timeout" "0" "port" "3306" } To add or modify the prop models or voice commands; go to configs/Murder/Props.cfg or Radio.cfg and follow the format. Example: Code: "Props" { "Model name" { "model" "model's path" } } Code: "Radio" { "Sound name" { "sound" "sound's path" } } All the models you could use are here. Some of them don't work.ConVars Spoiler murder_players_needed - Amount of players needed to start a murder game.murder_radio_delay - Amount of time to delay between the uses of the voice commands.murder_smoke_time - Amount of time to trigger the smoke effect on the murderer.murder_smoke_addition - Amount of time added to each kill the murderer receives to delay the smoke effect.murder_models_enabled - Enable Model switching during disguise?murder_prop_disguise_amount - Amount of clues needed to be able disguise as dead players.murder_prop_gun_amount - Amount of props collected to receive a gun.murder_prop_respawn_time - Amount of time till a random set of props spawn.murder_knife_duration - The time that gives the murderer his knife back after throwing.murder_footsteps_life - Life time of the footsteps displayed on the ground.murder_doublejump_enabled - Enable Multi or double Jumping?murder_doublejump_max - Max amount of jumps allowed in the air?murder_doublejump_height - Height of each jump? Natives Spoiler /** * Retrieves the current Murderer. * * @noparam * @return Murderer User ID */native int GetMurderer(); /** * Sets a client to be a Murderer. * * @param Index Client's User ID * @noreturn */native void SetMurderer(int client); /** * Retrieves the current Detective. * * @noparam * @return Detective User ID */native int GetDetective(); /** * Sets a client to be a Detective or Special Bystander. * * @param Index Client's User ID * @noreturn */native void SetDetective(int client); /** * Retrieves client's character. * * @param Index Client's User ID * @param String Client's Character Name (with chat colors) * @noreturn */native void GetClientCharacter(int client, char[] sCharacterName); CreditsBara - Grabber Modpaegus - Double Jump I forgot who else.. If I used your code, let me know, so I could credit you. Attached Files Murder.zip (296.3 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się