Aller au contenu
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    Bombe Difuse ?..


    Olivier44

    Messages recommandés

    Bonsoir,

     

    Je recrée un post au sujet du QuickDifuse. J'ai bien installer le pluging via le panel plugin, j'ai installer en plus de ça le fichier "QuickDifuse.sp". Problème j'ai copier coller la traduction d'un ancien poste trouver sur le forum VG, mais il n'y à aucune modifications... Voici le code :

    De plus pouvez vous me dire si le pluging à les sounds voix qui annonce que la bombe est posée et des désamorcer ?

     

    Cordialement.

    [color=#333333]/*[/color] *        QuickDefuse - by pRED*
    *
    *        CT's get a menu to select a wire to cut when they defuse the bomb
    *            - Choose the right wire - Instant Defuse
    *            - Choose the wrong wire - Instant Explosion
    *
    *        T's also get the option to select the correct wire, otherwise it's random
    *
    *        Ignoring the menu's or selecting exit will let the game continue normally
    *
    */
    
    
    #include <sourcemod>
    #include <sdktools>
    
    
    #define PLUGIN_VERSION "0.3"
    
    
    new wire
    new Handle:cvar_tchoice
    
    
    new String:wirecolours[4][] = {"Blue","Yellow","Red","Green"}
    
    
    public Plugin:myinfo = 
    {
       name = "QuickDefuse",
       author = "pRED*",
       description = "Let's CT's choose a wire for quick defusion",
       version = PLUGIN_VERSION,
       url = "http://www.sourcemod.net/"
    };
    
    
    public OnPluginStart()
    {
       CreateConVar("sm_quickdefuse_version", PLUGIN_VERSION, "Quick Defuse Version", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY)
    
    
       HookEvent("bomb_begindefuse", Event_Defuse, EventHookMode_Post)
       HookEvent("bomb_beginplant", Event_Plant, EventHookMode_Post)
       HookEvent("bomb_planted", Event_Planted, EventHookMode_PostNoCopy)
    
       HookEvent("bomb_abortdefuse", Event_Abort, EventHookMode_Post)
       HookEvent("bomb_abortplant", Event_Abort, EventHookMode_Post)
    
       cvar_tchoice = CreateConVar("qd_tchoice", "1", "Sets whether Terrorists can select a wire colour (QuickDefuse)")
    }
    
    
    public Event_Plant(Handle:event, const String:name[], bool:dontBroadcast)
    {
       new clientId = GetEventInt(event, "userid")
       new client = GetClientOfUserId(clientId)
    
       wire = 0;
       //let the planter choose a wire
    
       if (GetConVarInt(cvar_tchoice))
       {    
           new Handle:panel = CreatePanel()
    
           SetPanelTitle(panel, "Choisis un fil:" )
    
           DrawPanelText(panel, " ")
    
           DrawPanelText(panel, "Les CT peuvent utiliser les fils pour désamorcer une bombe rapidement")
           DrawPanelText(panel, "Fermer ce panel si vous ne souhaitez pas l'utiliser")
    
           DrawPanelText(panel, " ")
    
           DrawPanelItem(panel,wirecolours[0])
           DrawPanelItem(panel,wirecolours[1])
           DrawPanelItem(panel,wirecolours[2])
           DrawPanelItem(panel,wirecolours[3])
    
    
           DrawPanelText(panel, " ");
           DrawPanelItem(panel, "Sortir")
    
           SendPanelToClient(panel, client, PanelPlant, 5)
    
           CloseHandle(panel)
       }
    }
    
    
    public Event_Planted(Handle:event, const String:name[], bool:dontBroadcast)
    {
       if (wire == 0)
           wire = GetRandomInt(1,4)        
    }
    
    
    
    
    public Event_Defuse(Handle:event, const String:name[], bool:dontBroadcast)
    {
       new clientId = GetEventInt(event, "userid")
       new client = GetClientOfUserId(clientId)
       new bool:kit = GetEventBool(event, "haskit")
    
       //show a menu to the client offering a choice to pull/cut the wire
    
       new Handle:panel = CreatePanel()
    
    
       SetPanelTitle(panel, "Choisissez un fil:" )
       DrawPanelText(panel, "Ignorer le fil de base")
    
    
       DrawPanelText(panel, " ")
    
       DrawPanelText(panel, "Obtenez le bon et la bombe sera désamorcée")
       DrawPanelText(panel, "Si vous vous trompez, la bombe explosera")
    
    
       if (!kit)
       {
           DrawPanelText(panel, "Si vous avez pas de kit, vous avez 1 chance sur 50 pour que cela explose")
           DrawPanelText(panel, "Même si vous choisissez le bon fil")
       }
    
    
    
       DrawPanelText(panel, " ")
    
       DrawPanelItem(panel,"Bleu")
       DrawPanelItem(panel,"Jaune")
       DrawPanelItem(panel,"Rouge")
       DrawPanelItem(panel,"Vert")
    
    
       DrawPanelText(panel, " ");
       DrawPanelItem(panel, "Sortir")
    
       if (kit)
           SendPanelToClient(panel, client, PanelDefuseKit, 5)
       else
           SendPanelToClient(panel, client, PanelNoKit, 5)
    
       CloseHandle(panel)
    }
    
    
    public PanelPlant(Handle:menu, MenuAction:action, param1, param2)
    {
       if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour
       {
           wire = param2
           PrintToChat(param1,"\x01\x04[QuickDefuse] vous avez choisis le fil %s",wirecolours[param2-1])
       }
    }
    
    
    public PanelDefuseKit(Handle:menu, MenuAction:action, param1, param2)
    {
       if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour
       {
           new bombent = FindEntityByClassname(-1,"planted_c4")
    
           if (bombent)
           {
               new String:name[32]
               GetClientName(param1,name,sizeof(name))
    
               if (param2 == wire)
               {
                   SetEntPropFloat(bombent, Prop_Send, "m_flDefuseCountDown", 1.0)
                   PrintToChatAll("\x01\x04[QuickDefuse] %s a correctement désamorcé la bombe avec le fil : %s",name,wirecolours[param2-1])
               }
               else
               {    
                   SetEntPropFloat(bombent, Prop_Send, "m_flC4Blow", 1.0)
                   PrintToChatAll("\x01\x04[QuickDefuse] %s a fait exploser la bombe en ayant choisis le fil : %s (3:4 odds) le fil correcte était : %s",name,wirecolours[param2-1],wirecolours[wire-1])
               }
           }
       }
    }
    
    
    public PanelNoKit(Handle:menu, MenuAction:action, param1, param2)
    {
       if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour
       {
           new bombent = FindEntityByClassname(-1,"planted_c4")
    
           if (bombent)
           {
               new String:name[32]
               GetClientName(param1,name,sizeof(name))
    
               if (param2 == wire && GetRandomInt(0,1))
               {
                   SetEntPropFloat(bombent, Prop_Send, "m_flDefuseCountDown", 1.0)
                   PrintToChatAll("\x01\x04[QuickDefuse] %s correctly pulled the %s wire for an instant C4 defusal (1:8 odds)",name,wirecolours[param2-1])
               }
               else
               {
                   SetEntPropFloat(bombent, Prop_Send, "m_flC4Blow", 1.0)
                   if (param2 != wire)
                       PrintToChatAll("\x01\x04[QuickDefuse] %s detonated the C4 with an incorrect wire choice of %s (7:8 odds) The correct wire was %s",name,wirecolours[param2-1],wirecolours[wire-1])
                   else
                       PrintToChatAll("\x01\x04[QuickDefuse] %s chose the correct wire (%s) but the C4 still detonated!",name,wirecolours[param2-1])
               }
           }
       }
    }
    
    
    
    
    
    
    public Event_Abort(Handle:event, const String:name[], bool:dontBroadcast)
    {
       new clientId = GetEventInt(event, "userid")
       new client = GetClientOfUserId(clientId)
    
       CancelClientMenu(client) [color=#333333]}[/color]

    Lien vers le commentaire
    Partager sur d’autres sites

    Hello, j'ai bien installer c4timer, j'ai remplacer les sounds de base par d'autres sounds mais les sounds que j'ai ajouter ne fonctionne pas...pourtant quand je vais sur le serveur elles se DL mais zéro voix une fois la bombe posé.:zen:

    Pour le pluging QuickDifuse tu as une idée de pourquoi les textes ne sont pas traduit en jeu ? pour temps je pense avoir bien fais les choses....

    Modifié par Olivier44
    Lien vers le commentaire
    Partager sur d’autres sites

    Hello, pas besoin de up ton sujet .. ^^

    Je ne passe pas énormément sur le fofo, dur d'y pensé :(

     

    De quelle traduction du parle ? Tu as toi même traduit le plugin ? Si c'est le cas tu l'as compilé ?

    Pour tes snd, si tu n'as pas de miroir, il t'en faut un, sans cela tu auras cette barre de download tout le temps.

    Lien vers le commentaire
    Partager sur d’autres sites

    salut Kriax, désolé mais quand je vois que le monde regarde le post sans répondre c'est frustrant mdr' même si tous le monde ne connais pas la réponse ^^.

    Ce que je veux te dire en parlant de la traduction c'est que dans le code que je t'ai mis dans le post précédent les textes sont traduit de l'anglais en français ne s'affiche pas en français sur le serveur, il reste écrit en anglais. Et non je l'ai pas traduit moi même, j'ai repris ce code d'un ancien post sur le forum. Aurais tu une idée du pourquoi la traduction ne se fais pas ? Et merci pour l'info des sounds.

     

    Cordialement.

    Lien vers le commentaire
    Partager sur d’autres sites

    Bonjour,

    Je n'arrive pas à résoudre mon problème de traduction.

    voici mon code non modifier. et juste en bas vous trouverez un code traduit par BotField que j'ai récupérer sur se topic http://forum.verygames.net/showthread.php?43398-quick-defuse&highlight=quickdefuse

    Pour info j'ai modifier le dossier "QuickDifuse.sp"

    Aucun des deux ne fonctionne... S'il vous plait de l'aide.

    /* *        QuickDefuse - by pRED*
    *
    *        CT's get a menu to select a wire to cut when they defuse the bomb
    *            - Choose the right wire - Instant Defuse
    *            - Choose the wrong wire - Instant Explosion
    *
    *        T's also get the option to select the correct wire, otherwise it's random
    *
    *        Ignoring the menu's or selecting exit will let the game continue normally
    *
    */
    
    
    
    
    #include <sourcemod>
    #include <sdktools>
    
    
    
    
    #define PLUGIN_VERSION "0.3"
    
    
    
    
    new wire
    new Handle:cvar_tchoice
    
    
    
    
    new String:wirecolours[4][] = {"Blue","Yellow","Red","Green"}
    
    
    
    
    public Plugin:myinfo = 
    {
       name = "QuickDefuse",
       author = "pRED*",
       description = "Let's CT's choose a wire for quick defusion",
       version = PLUGIN_VERSION,
       url = "http://www.sourcemod.net/"
    };
    
    
    
    
    public OnPluginStart()
    {
       CreateConVar("sm_quickdefuse_version", PLUGIN_VERSION, "Quick Defuse Version", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY)
    
    
    
    
       HookEvent("bomb_begindefuse", Event_Defuse, EventHookMode_Post)
       HookEvent("bomb_beginplant", Event_Plant, EventHookMode_Post)
       HookEvent("bomb_planted", Event_Planted, EventHookMode_PostNoCopy)
    
       HookEvent("bomb_abortdefuse", Event_Abort, EventHookMode_Post)
       HookEvent("bomb_abortplant", Event_Abort, EventHookMode_Post)
    
       cvar_tchoice = CreateConVar("qd_tchoice", "1", "Sets whether Terrorists can select a wire colour (QuickDefuse)")
    }
    
    
    
    
    public Event_Plant(Handle:event, const String:name[], bool:dontBroadcast)
    {
       new clientId = GetEventInt(event, "userid")
       new client = GetClientOfUserId(clientId)
    
       wire = 0;
       //let the planter choose a wire
    
       if (GetConVarInt(cvar_tchoice))
       {    
           new Handle:panel = CreatePanel()
    
           SetPanelTitle(panel, "Choisis un fil:" )
    
           DrawPanelText(panel, " ")
    
           DrawPanelText(panel, "Les CT peuvent utiliser les fils pour désamorcer une bombe rapidement")
           DrawPanelText(panel, "Fermer ce panel si vous ne souhaitez pas l'utiliser")
    
           DrawPanelText(panel, " ")
    
           DrawPanelItem(panel,wirecolours[0])
           DrawPanelItem(panel,wirecolours[1])
           DrawPanelItem(panel,wirecolours[2])
           DrawPanelItem(panel,wirecolours[3])
    
    
           DrawPanelText(panel, " ");
           DrawPanelItem(panel, "Sortir")
    
           SendPanelToClient(panel, client, PanelPlant, 5)
    
           CloseHandle(panel)
       }
    }
    
    
    
    
    public Event_Planted(Handle:event, const String:name[], bool:dontBroadcast)
    {
       if (wire == 0)
           wire = GetRandomInt(1,4)        
    }
    
    
    
    
    
    
    
    
    public Event_Defuse(Handle:event, const String:name[], bool:dontBroadcast)
    {
       new clientId = GetEventInt(event, "userid")
       new client = GetClientOfUserId(clientId)
       new bool:kit = GetEventBool(event, "haskit")
    
       //show a menu to the client offering a choice to pull/cut the wire
    
       new Handle:panel = CreatePanel()
    
    
    
    
       SetPanelTitle(panel, "Choisissez un fil:" )
       DrawPanelText(panel, "Ignorer le fil de base")
    
    
    
    
       DrawPanelText(panel, " ")
    
       DrawPanelText(panel, "Obtenez le bon et la bombe sera désamorcée")
       DrawPanelText(panel, "Si vous vous trompez, la bombe explosera")
    
    
       if (!kit)
       {
           DrawPanelText(panel, "Si vous avez pas de kit, vous avez 1 chance sur 50 pour que cela explose")
           DrawPanelText(panel, "Même si vous choisissez le bon fil")
       }
    
    
    
    
    
       DrawPanelText(panel, " ")
    
       DrawPanelItem(panel,"Bleu")
       DrawPanelItem(panel,"Jaune")
       DrawPanelItem(panel,"Rouge")
       DrawPanelItem(panel,"Vert")
    
    
       DrawPanelText(panel, " ");
       DrawPanelItem(panel, "Sortir")
    
       if (kit)
           SendPanelToClient(panel, client, PanelDefuseKit, 5)
       else
           SendPanelToClient(panel, client, PanelNoKit, 5)
    
       CloseHandle(panel)
    }
    
    
    
    
    public PanelPlant(Handle:menu, MenuAction:action, param1, param2)
    {
       if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour
       {
           wire = param2
           PrintToChat(param1,"\x01\x04[QuickDefuse] vous avez choisis le fil %s",wirecolours[param2-1])
       }
    }
    
    
    
    
    public PanelDefuseKit(Handle:menu, MenuAction:action, param1, param2)
    {
       if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour
       {
           new bombent = FindEntityByClassname(-1,"planted_c4")
    
           if (bombent)
           {
               new String:name[32]
               GetClientName(param1,name,sizeof(name))
    
               if (param2 == wire)
               {
                   SetEntPropFloat(bombent, Prop_Send, "m_flDefuseCountDown", 1.0)
                   PrintToChatAll("\x01\x04[QuickDefuse] %s a correctement désamorcé la bombe avec le fil : %s",name,wirecolours[param2-1])
               }
               else
               {    
                   SetEntPropFloat(bombent, Prop_Send, "m_flC4Blow", 1.0)
                   PrintToChatAll("\x01\x04[QuickDefuse] %s a fait exploser la bombe en ayant choisis le fil : %s (3:4 odds) le fil correcte était : %s",name,wirecolours[param2-1],wirecolours[wire-1])
               }
           }
       }
    }
    
    
    
    
    public PanelNoKit(Handle:menu, MenuAction:action, param1, param2)
    {
       if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour
       {
           new bombent = FindEntityByClassname(-1,"planted_c4")
    
           if (bombent)
           {
               new String:name[32]
               GetClientName(param1,name,sizeof(name))
    
               if (param2 == wire && GetRandomInt(0,1))
               {
                   SetEntPropFloat(bombent, Prop_Send, "m_flDefuseCountDown", 1.0)
                   PrintToChatAll("\x01\x04[QuickDefuse] %s correctly pulled the %s wire for an instant C4 defusal (1:8 odds)",name,wirecolours[param2-1])
               }
               else
               {
                   SetEntPropFloat(bombent, Prop_Send, "m_flC4Blow", 1.0)
                   if (param2 != wire)
                       PrintToChatAll("\x01\x04[QuickDefuse] %s detonated the C4 with an incorrect wire choice of %s (7:8 odds) The correct wire was %s",name,wirecolours[param2-1],wirecolours[wire-1])
                   else
                       PrintToChatAll("\x01\x04[QuickDefuse] %s chose the correct wire (%s) but the C4 still detonated!",name,wirecolours[param2-1])
               }
           }
       }
    }
    
    
    
    
    
    
    
    
    
    
    
    
    public Event_Abort(Handle:event, const String:name[], bool:dontBroadcast)
    {
       new clientId = GetEventInt(event, "userid")
       new client = GetClientOfUserId(clientId)
    
       CancelClientMenu(client)
    }

     

    [color=#333333]/*[/color] *        [color=#101010]QuickDefuse[/color] - by pRED*
    *
    *        CT's get a menu to select a wire to cut when they defuse the bomb
    *            - Choose the right wire - Instant Defuse
    *            - Choose the wrong wire - Instant Explosion
    *
    *        T's also get the option to select the correct wire, otherwise it's random
    *
    *        Ignoring the menu's or selecting exit will let the game continue normally
    *
    */
    
    #include <sourcemod>
    #include <sdktools>
    
    #define PLUGIN_VERSION "0.3"
    
    new wire
    new Handle:cvar_tchoice
    
    new String:wirecolours[4][] = {"Bleu","Jaune","Rouge","Vert"}
    
    public Plugin:myinfo = 
    {
       name = "[color=#101010]QuickDefuse[/color]",
       author = "pRED*",
       description = "Let's CT's choose a wire for quick defusion",
       version = PLUGIN_VERSION,
       url = "http://www.sourcemod.net/"
    };
    
    public OnPluginStart()
    {
       CreateConVar("sm_quickdefuse_version", PLUGIN_VERSION, "Quick Defuse Version", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY)
    
       HookEvent("bomb_begindefuse", Event_Defuse, EventHookMode_Post)
       HookEvent("bomb_beginplant", Event_Plant, EventHookMode_Post)
       HookEvent("bomb_planted", Event_Planted, EventHookMode_PostNoCopy)
    
       HookEvent("bomb_abortdefuse", Event_Abort, EventHookMode_Post)
       HookEvent("bomb_abortplant", Event_Abort, EventHookMode_Post)
    
       cvar_tchoice = CreateConVar("qd_tchoice", "1", "Sets whether Terrorists can select a wire colour ([color=#101010]QuickDefuse[/color])")
    }
    
    public Event_Plant(Handle:event, const String:name[], bool:dontBroadcast)
    {
       new clientId = GetEventInt(event, "userid")
       new client = GetClientOfUserId(clientId)
    
       wire = 0;
       //let the planter choose a wire
    
       if (GetConVarInt(cvar_tchoice))
       {    
           new Handle:panel = CreatePanel()
    
           SetPanelTitle(panel, "Choisis un Fil:" )
    
           DrawPanelText(panel, " ")
    
           DrawPanelText(panel, "Choisis un fil pour amorcer la Bombe")
           DrawPanelText(panel, "Ou sinon un fil est choisis au hasard")
    
           DrawPanelText(panel, " ")
    
           DrawPanelItem(panel,wirecolours[0])
           DrawPanelItem(panel,wirecolours[1])
           DrawPanelItem(panel,wirecolours[2])
           DrawPanelItem(panel,wirecolours[3])
    
    
           DrawPanelText(panel, " ");
           DrawPanelItem(panel, "Fermer")
    
           SendPanelToClient(panel, client, PanelPlant, 5)
    
           CloseHandle(panel)
       }
    }
    
    public Event_Planted(Handle:event, const String:name[], bool:dontBroadcast)
    {
       if (wire == 0)
           wire = GetRandomInt(1,4)        
    }
    
    
    public Event_Defuse(Handle:event, const String:name[], bool:dontBroadcast)
    {
       new clientId = GetEventInt(event, "userid")
       new client = GetClientOfUserId(clientId)
       new bool:kit = GetEventBool(event, "haskit")
    
       //show a menu to the client offering a choice to pull/cut the wire
    
       new Handle:panel = CreatePanel()
    
       SetPanelTitle(panel, "Choisis un Fil:" )
       DrawPanelText(panel, "Ignorer et desamorcer normalement")
    
       DrawPanelText(panel, " ")
    
       DrawPanelText(panel, "Si tu coupes le bon fil ,la Bombe sera desamorcer")
       DrawPanelText(panel, "Si tu te trompes la Bombe explosera de suite")
    
    
       if (!kit)
       {
           DrawPanelText(panel, "Sans Kit ,tu as 50% de chance que la bombe explose")
           DrawPanelText(panel, "meme si vous choisissez le bon fil")
       }
    
    
       DrawPanelText(panel, " ")
    
       DrawPanelItem(panel,"Bleu")
       DrawPanelItem(panel,"Jaune")
       DrawPanelItem(panel,"Rouge")
       DrawPanelItem(panel,"Vert")
    
    
       DrawPanelText(panel, " ");
       DrawPanelItem(panel, "Fermer")
    
       if (kit)
           SendPanelToClient(panel, client, PanelDefuseKit, 5)
       else
           SendPanelToClient(panel, client, PanelNoKit, 5)
    
       CloseHandle(panel)
    }
    
    public PanelPlant(Handle:menu, MenuAction:action, param1, param2)
    {
       if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour
       {
           wire = param2
           PrintToChat(param1,"\x01\x04[QuickDefuse] Tu as choisis le fil %s",wirecolours[param2-1])
       }
    }
    
    public PanelDefuseKit(Handle:menu, MenuAction:action, param1, param2)
    {
       if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour
       {
           new bombent = FindEntityByClassname(-1,"planted_c4")
    
           if (bombent)
           {
               new String:name[32]
               GetClientName(param1,name,sizeof(name))
    
               if (param2 == wire)
               {
                   SetEntPropFloat(bombent, Prop_Send, "m_flDefuseCountDown", 1.0)
                   PrintToChatAll("\x01\x04[QuickDefuse] %s a choisi le fil %s est a desamorcer la Bombe en un instant (1:4 odds)",name,wirecolours[param2-1])
               }
               else
               {    
                   SetEntPropFloat(bombent, Prop_Send, "m_flC4Blow", 1.0)
                   PrintToChatAll("\x01\x04[QuickDefuse] %s a fait exploser la bombe  ,en coupant le fil %s (3:4 odds) Le Terroriste avait choisis le fil %s",name,wirecolours[param2-1],wirecolours[wire-1])
               }
           }
       }
    }
    
    public PanelNoKit(Handle:menu, MenuAction:action, param1, param2)
    {
       if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour
       {
           new bombent = FindEntityByClassname(-1,"planted_c4")
    
           if (bombent)
           {
               new String:name[32]
               GetClientName(param1,name,sizeof(name))
    
               if (param2 == wire && GetRandomInt(0,1))
               {
                   SetEntPropFloat(bombent, Prop_Send, "m_flDefuseCountDown", 1.0)
                   PrintToChatAll("\x01\x04[QuickDefuse] %s a choisi le fil %s est a desamorcer la Bombe en un instant (1:8 odds)",name,wirecolours[param2-1])
               }
               else
               {
                   SetEntPropFloat(bombent, Prop_Send, "m_flC4Blow", 1.0)
                   if (param2 != wire)
                       PrintToChatAll("\x01\x04[QuickDefuse] %s a fait exploser la bombe  ,en coupant le fil %s (7:8 odds) Le Terroriste avait choisis le fil %s",name,wirecolours[param2-1],wirecolours[wire-1])
                   else
                       PrintToChatAll("\x01\x04[QuickDefuse] %s a choisis le bon fil ,qui etait le (%s) mais la Bombe a fait quand meme une belle explosion!",name,wirecolours[param2-1])
               }
           }
       }
    }
    
    
    
    public Event_Abort(Handle:event, const String:name[], bool:dontBroadcast)
    {
       new clientId = GetEventInt(event, "userid")
       new client = GetClientOfUserId(clientId)
    
       CancelClientMenu(client) [color=#333333]}[/color]

    Lien vers le commentaire
    Partager sur d’autres sites

    Hello, c'est normal, tu dois compiler la source :)

    Pour se faire, vas sur sourcemod.net, à gauche "compiler" tu copies colles et tu auras le .smx, tu le mets dans le dossier"plugins en retirant l'ancien :)

     

    Je te l'aurais bien compilé, mais je ne suis pas sur le pc au moment où je te réponds :)

    Lien vers le commentaire
    Partager sur d’autres sites

    Salut Kriax, merci

     

    Les 2 liens sur 3 sont morts et le 2em lien qui fonctionne je comprend pas ce que c'est...

    As tu un autre lien ou autre chose ?

    Source code is now located here: https://code.limetech.org/diffusion/ST/

    Binary downloads are now here: https://builds.limetech.org/?p=steamtools

    Build status and history is here: https://builds.alliedmods.net/asherk...ory=steamtools

    Lien vers le commentaire
    Partager sur d’autres sites

    Rejoindre la conversation

    Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

    Invité
    Répondre à ce sujet…

    ×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

      Seulement 75 émoticônes maximum sont autorisées.

    ×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

    ×   Votre contenu précédent a été rétabli.   Vider l’éditeur

    ×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

    ×
    ×
    • Créer...