Jump to content
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    Mettre les sons present sur le ftp en dl sur mon serv


    Jean Felix

    Recommended Posts

    tu dois aussi créer un plugin amx qui se chargera de faire télécharger les wav lorsque les clients se connecteront au serveur. Pour ça facile, ouvre ton bloc note windows et prend exemple :

    /* AMX Mod script
    *
    * Plugin AMX sB Sounds 1.0 par Oum
    *
    * permet de précacher les sons 
    * du serveur de la Section Boulet 
    * à l'entrée du serveur
    *
    */
    
    #include <amxmod>
    
    public plugin_precache()
    {
    precache_sound("misc/gamin1.wav")
    precache_sound("misc/gaminsb2.wav")
    precache_sound("misc/gaminsb3.wav")
    precache_sound("misc/cerveau.wav")
    precache_sound("misc/dieu2.wav")
    precache_sound("misc/endormi.wav")
    precache_sound("misc/cavapas.wav")
    precache_sound("misc/feelgood.wav")
    precache_sound("misc/bourrepif.wav")
    precache_sound("misc/raoul.wav")
    precache_sound("misc/ventile.wav")
    precache_sound("misc/ildort.wav")
    precache_sound("misc/sandwiches.wav")
    precache_sound("misc/onestchargealamagnum.wav")
    precache_sound("misc/marmotte.wav")
    precache_sound("misc/proutprout.wav")
    precache_sound("misc/tirer.wav")
    precache_sound("misc/tuer.wav")
    precache_sound("misc/vainqueur2.wav")
    precache_sound("misc/retrouve.wav")
    precache_sound("misc/son_magnum.wav")
    precache_sound("misc/son_serial.wav")
    precache_sound("misc/dbz5.wav")
    return PLUGIN_CONTINUE
    }
    public plugin_init()
    {
    register_plugin("sB Sounds", "1.0", "Oum")
    }

    tu vois c'est assez simple :)

    ensuite tu compile ça pour avoir un fichier .amx et tu installes sur ton serveur et voilà ;)

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...