dav Posted July 14, 2004 Share Posted July 14, 2004 voila ,en fait je voudrai rajouter des ligne de cmds du genre alltalk on off ou desoler on a match ou bonjour a tous ect... dans le fichier cmds.in pour que sa aparaisse sur l'ecran mais je ne c pas quel ligne exactement qu'il faut que je rajoute dans ce fichier ,en fait qlq truc pour avoir un accés plus rapide sans etre obliger de passer par la consol :-D Quote Link to comment Share on other sites More sharing options...
sB Fylm Posted July 14, 2004 Share Posted July 14, 2004 plusieurs façon pour pas avoir à passer par la console. 1 - dans ton fichier cmds.ini effectivement tu peux rajouter la ligne suivante : "AllTalk On" "sv_alltalk 1" "ad" "u" Mais ça t'oblige à mettre son contraire aussi : "AllTalk Off" "sv_alltalk 0" "ad" "u" 2 - tu peux mettre dans le cvars.ini : "sv_alltalk" "0" "1" "u" (plus qu'une ligne là) voili voilà !! ps : tu peux aussi mettre dans le commandmenu.txt, ou encore dans binder une touche dans ton config.cfg ou userconfig.cfg Quote Link to comment Share on other sites More sharing options...
dav Posted July 14, 2004 Author Share Posted July 14, 2004 ok merci mais quand j'active ou je desactive le alltalt j'ai pas d'ecriture qui s'affiche alltalk activer ou desactiver ? je doit surment rajouter des ligne qlq part non mais ou et quel fichier c'est un mystere merci encore :D Quote Link to comment Share on other sites More sharing options...
sB Fylm Posted July 14, 2004 Share Posted July 14, 2004 en passant apr le menu amx, on peut pas trop faire marquer grand chose, sinon après c'est recompilation du sma etc etc etc ... Je te recommandes de passer par un commandmenu.txt dont voici un extrait concernant kelkes commandes serveur : "3" "Commandes de bases >>" { "1" "Restart" "amx_csay yellow Restart Round ! ; amx_rcon sv_restartround 1" "2" "AllTalk >>" { "1" "Talk on" "amx_csay yellow Alltalk active, restez courtois !!; amx_rcon sv_alltalk 1" "2" "Talk off" "amx_csay yellow Alltalk off !; amx_rcon sv_alltalk 0" "3" "Deadchat" "amx_csay yellow Alltalk pour les morts seulement !!; amx_rcon sv_alltalk 0; amx_deadchat 1" } "3" "FF >>" { "1" "FF On" "amx_csay yellow faites gaffe!! FF is ON !!; amx_rcon mp_friendlyfire 1" "2" "FF Off" "amx_csay yellow FF off Allez y !! Lachez vous !!; amx_rcon mp_friendlyfire 0" } "4" "Freeze Time >>" { "1" "No Freeze Time" "amx_csay yellow Pas de Freeze Time; amx_rcon mp_freezetime 0" "2" "3 Secondes" "amx_csay yellow Freeze Time 3 Seconds; amx_rcon mp_freezetime 3" "3" "5 Secondes" "amx_csay yellow Freeze Time 5 seconds; amx_rcon mp_freezetime 5" } "5" "TK punish >>" { "1" "TK On" "amx_csay yellow Le TK punish est On !!; amx_rcon mp_tkpunish 1" "2" "TK Off" "amx_csay yellow Le TK punish est Off !!; amx_rcon mp_tkpunish 0" } "6" "Map Time Limit >>" { "1" "Unlimited" "amx_csay yellow Map Timelimit Is Unlimited; amx_rcon mp_timelimit 0" "2" "10 Mn" "amx_csay yellow Map Timelimit Is 10 Minutes; amx_rcon mp_timelimit 10" "3" "20 Mn" "amx_csay yellow Map Timelimit Is 20 Minutes; amx_rcon mp_timelimit 20" "4" "30 Mn" "amx_csay yellow Map Timelimit Is 30 Minutes; amx_rcon mp_timelimit 30" "5" "40 Mn" "amx_csay yellow Map Timelimit Is 40 Minutes; amx_rcon mp_timelimit 40" "6" "50 Mn" "amx_csay yellow Map Timelimit Is 50 Minutes; amx_rcon mp_timelimit 50" "7" "60 Mn" "amx_csay yellow Map Timelimit Is 60 Minutes; amx_rcon mp_timelimit 60" } "9" "Diverses >>" { "1" "Otages Penalty >>" { "1" "OP On" "amx_csay yellow Hostagepenalty est On !!; amx_rcon mp_hostagepenalty 3" "2" "OP Off" "amx_csay yellow Hostagepenalty est Off !!; amx_rcon mp_hostagepenalty 0" } "2" "Autoteambalance >>" { "1" "Balance On" "amx_csay yellow Autoteambalance est On !!; amx_rcon mp_autoteambalance 1" "2" "Balance Off" "amx_csay yellow Autoteambalance est Off !!; amx_rcon mp_autoteambalance 0" } "3" "Limitteams >>" { "1" "Limitteams 1" "amx_csay yellow Limitteams fixe a 1 !!; amx_rcon mp_limitteams 1" "2" "Limitteams 2" "amx_csay yellow Limitteams fixe a 2 !!; amx_rcon mp_limitteams 2" "3" "Limitteams 3" "amx_csay yellow Limitteams fixe a 3 !!; amx_rcon mp_limitteams 3" } "4" "Cameras >>" { "1" "Mode Normal" "amx_csay yellow Les cameras sont en mode Normal !!; amx_rcon mp_forcecamera 0 ; amx_rcon mp_forcechasecam 0" "2" "Mode Match" "amx_csay yellow Les cameras sont en mode Match !!; amx_rcon mp_forcecamera 1 ; amx_rcon mp_forcechasecam 1" } } } "4" "Preparation Match >>" { "1" "sB Vs Visiteurs" "amx_csay yellow Serveur en configuration pour Match, Le Pass sera : XXX !!; amx_match sB Visiteurs mr12 ecup recorddemo" "2" "Visiteurs Vs sB" "amx_csay yellow Serveur en configuration pour Match, Le Pass sera : XXX !!; amx_match Visiteurs sB mr12 ecup recorddemo" "3" "Stop Match" "amx_csay yellow Serveur en configuration FFA, Le Pass est : Boulet !!; amx_matchstop" } "5" "Fun Commands >>" { "1" "Matrix >>" { "1" "On" "amx_rcon sv_airaccelerate -15; amx_rcon sv_gravity 200; amx_csay yellow Matrix Mode Is On" "2" "Off" "amx_rcon sv_airaccelerate 15; amx_rcon sv_gravity 800; amx_csay yellow Matrix Mode Is Off" "3" "Help" "amx_csay yellow ==>> Matrix Mode Help <<==; amx_csay yellow Quand vous etes en l'air,appuyez sur la direction opposee pour aller ou vous voulez; amx_csay yellow exemple : pour avancer, appuyez sur Reculer !!" } "2" "Gravity >>" { "1" "On" "amx_rcon sv_gravity 200; amx_csay yellow Gravity Mode Is On" "2" "Off" "amx_rcon sv_gravity 800; amx_csay yellow Gravity Mode Is Off" } "3" "Money >>" { "1" "start 800" "amx_csay yellow Money a 800, Economisez vos munitions !!; amx_rcon mp_startmoney 800 ; amx_rcon sv_restartround 1" "2" "start 16000" "amx_csay yellow Money a 16000, Whoaow c'te folie !!; amx_rcon mp_startmoney 16000 ; amx_rcon sv_restartround 1" "3" "CT" "amx_money @CT 16000" "4" "Terro" "amx_money @TERRORIST 16000" } "4" "Rolldice >>" { "1" "On" "amx_csay yellow Rollthedice Mode On !! Dites rolldice et attendez vous au pire !! :o)); amx_rolldice 1" "1" "Off" "amx_csay yellow Rollthedice Mode Off !!; amx_rolldice 0" } "5" "Kamikaze >>" { "1" "On" "amx_timebombs on; amx_csay yellow Kamikaze On" "2" "Off" "amx_timebombs off; amx_csay yellow Kamikaze Off" } "6" "Atomic >>" { "1" "Atomic" "amx_nukem; amx_csay yellow Mouhahahahahaha !" "2" "Joke" "amx_nukem_jk; amx_csay yellow Mouhahahahahaha !" } "7" "NvgMode >>" { "1" "On" "amx_nvgmode on" "2" "Off" "amx_nvgmode off" voilà, y a un peu de tout, des commandes amx comme des commandes rcon mais ça peut donner des idées !! Quote Link to comment Share on other sites More sharing options...
Sebilly Posted July 14, 2004 Share Posted July 14, 2004 yop dav Des ke je te chope sur msn je te refile le cmd.ini :-D Sinon passe sur notre chan #pot2nutella sur quakenet a + ps : jai vu ton mail :-) Quote Link to comment Share on other sites More sharing options...
dav Posted July 15, 2004 Author Share Posted July 15, 2004 :-D merci sebilly no problemo une foi de plus tu va me sortir de la panade :lol: merci sB | Fylm pour les info a+ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.