gere34 Posté(e) le 10 mars 2005 Signaler Posté(e) le 10 mars 2005 Est ce que quelqu'un sait si le commandmenu existe toujours ou pas. Parsque la commande existe (j'ai regardé dans le kb_def.lst, c'est "commandmenu" au lieu de "+commandmenu") J'ai trouvé ça sur plusieurs forums: The command menu is still here, but the command to bring it up is now commandmenu, not +commandmenu. The actual command menu is now stored in cstrike/resource and is called commandmenu.res. kb_act.lst and kb_def.lst: kb_act.lst still works as it used to but kb_def.lst doesn't, although I'm looking into this. kb_act.lst should be placed in cstrike/scripts. titles.txt This also belongs in cstrike/scripts. Command Menus: They are now a lot harder to make, but a lot more functional. The available functions include: "title" "title goes here" "command" "commands go here" "toggle" "name of cvar goes here" "rule" "rule goes here, eg map, team or objective" "ruledata" "2 for Ts, 3 for CTs, name of map or objective" here's mine to show you how it's done: Code: "commandmenu.res" { "menuitem1" { "label" "Buy (with ammo and armor)" "menuitem1" { "label" ">$1400 - Pistols" "menuitem1" { "label" ">$1400 - Glock 18 Select Fire" "command" "buy vesthelm; buy glock; 2sec" } "menuitem2" { "label" ">$1500 - H&K USP .45 Tactical" "command" "buy vesthelm; buy usp; 2sec" } ...
ChandlerBing82 Posté(e) le 1 juin 2012 Signaler Posté(e) le 1 juin 2012 Ce sujet a été déplacé de la catégorie Counter-Strike : Source vers la categorie Univers Counter-Strike par ChandlerBing82
Messages recommandés
Archivé
Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.