Addon Details

Watch - Add Favorite


WeaponGiver ScreenShot

1 out of 1 users claim this version works for them.
Does this version work for you?
8
w00ts
w00t!2

WeaponGiver - Version 3.1

posted on 2008-04-08 17:02:43
by XaM



Description

Permet de donner des armes avec ce menu. Simple a utiliser, et facilement configurable. ---------------------------- Allows admins to give weapons whit this menu. Easly to configure

Installation

[size=18][color=blue][b]Installation:[/b][/color][/size][list][*]Dézippez tout ce que contient l'archive sur votre FTP, dans: - cstrike/ En suivant le chemin de l'archive [*]Ajoutez à votre autoexec.cfg la ligne:[/list] [syntax="es"]es_load weapongiver[/syntax] [list][*]Rebootez votre serveur de jeu[/list] [size=18][color=blue][b]Configuration:[/b][/color][/size] [b]Ajout d'un admin:[/b] Pour ajouter vos admins, ouvrez le fichier[quote]es_wg_admins_db.txt[/quote] Situé dans: - cstrike/addons/eventscripts/weapongiver/admins/ Et éditez le : [syntax="es"] "wg_admins" { // Steam ID ADMIN "STEAM_X:X:XXXXXXXX" { // Nom de l'Admin "name" "Nom d'admin" // Droit // 1 = peut configurer le script depuis le menu // 0 = ne peut pas "droit" "1" } }[/syntax] [size=18][color=blue][b]Installation:[/b][/color][/size][list][*][b]Unzip all the contain of the archive in - cstrike/ Following the directory of the archive [*]Add this line in your autoexec.cfg[/b][/list] [syntax="es"]es_load weapongiver[/syntax] [list][*]Reboot your server[/list] [size=18][color=blue][b]Configuration:[/b][/color][/size] [b]To add an admin[/b] To add an admin, open the file: [quote]es_wg_admins_db.txt[/quote] Situated in: - cstrike/addons/eventscripts/weapongiver/admins/ And edit like this : [syntax="es"] "wg_admins" { // Steam ID ADMIN "STEAM_X:X:XXXXXXXX" { // Name of the Admin "name" "Admin's Name" // Rights // 1 = Is allowed to configure the script by the menu // 0 = Isn't allowed to "droit" "1" } }[/syntax] [b]Configuration des parametres[/b] Ensuite, ouvrez le fichier config.cfg situé dans: - cstrike/addons/eventscripts/weapongiver/cfg/ Et reglez le selon vos besoins: Then open the config.cfg file situated in: - cstrike/addons/eventscripts/weapongiver/cfg/ And configure it like you want: [syntax="es"]///////////////////////////// // Just configure that: // Configurez ceci: ///////////////////////////// // The language of your script. Are included: // La langue du script. Sont inclus: // fr = francais // eng = English wg_language "fr" // The chat command to open the menu // La commande à taper dans le chat pour ouvrir le menu wg_chatcmd "!wg" // The console command to open the menu // La commande à taper dans la console pour ouvrir le menu // bind "yourkey/tatouche" "yourcommand/tacommande" wg_concmd "wg" // Send back the menu after making a selection // 0 = Doesn't send back any menu // 1 = Send back the mainmenu // 2 = Send back the player list // Renvoyer le menu après l'avoir utilisé // 0 = Ne renvoie rien // 1 = Renvoie le menu principal // 2 = Renvoie la liste des joueurs wg_renvoi 2 // Enable (1) or disable (0) the messages when an admin joins and leaves the server // Activer (1) ou désactiver (0) les messages montrant quand un admin se connecte et se déconnecte wg_comessage 1 // Enable (1) or disable (0) the messages when an admin gives a weapon // Activer (1) ou désactiver (0) les messages montrant quand un admin donne une arme wg_message 1 // Show (0) or not (1) the name of the admin who gave a weapon (wg_message 1) // Montrer (0) ou pas (1) le nom de l'admin qui a donné une arme (wg_message 1) wg_anonymeadmin 1[/syntax] [b]Traduction[/b] Ensuite, si votre langue n'est pas incluse, vous pouvez traduire le script vous meme (Une fois traduit, proposez moi votre traduction, et je l'incluerais dans le .zip) If your languge is not inclued (FR and ENG ar inclued), you can easly translate it [quote] ////////////////////////////////////// // TO TRANSLATE THE SCRIPT // FOR ANOTHER LANGUAGE: // // Set the wg_language value to a prefixe (ex: esp) // Add a ligne with this prefixe (between "") following the example below // You have to do it for each msg, or the script WON'T WORK // Example: To add the Spanish, do like this for each words // "weapon_hegrenade" // { // "esp" "Granadas" // } // DO NOT REPLACE THE %1 or things like this, JUST REPLACE THE TEXT // #lightgreen, #green and #default are for coloured text ///////////////////////////////////////// // POUR TRADUIRE LE SCRIPT // // Régler la variable wg_language sur un prefixe choisis (ex: esp) // Ajouter une ligne avec ce prefixe (entre "") en suivant l'example ci dessous // Vous devez faire cette opération pour chaque message, ou le script NE MARCHERA PAS // Exemple: Pour ajouter l'espagnol, faite comme ci dessous pour chaque mot a traduire // "weapon_hegrenade" // { // "esp" "Granadas" // } // NE REMPLACEZ PAS LES %1 ou choses comme ca, REMPLACEZ UNIQUEMENT LE TEXTE // #lightgreen, #green et #default sont utilisés pour les textes colorés /////////////////////////////////////////////[/quote]

Version Notes For 3.1

Updated on: 2008-07-09 05:11:29 EST by XaM (View Zip Contents)
V.3.1: [+] Ajout d'une variable publique [~] Correction du code, par rapport à l'ajout d'admin. ------------------------------------------------ V.3.1: [+] Added public variable [~] Correction of the code, to add admins.

( Previous Versions )