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

    [SM]Grenade Pack


    iNex

    Recommended Posts

    Bonjours,

    Ca fais un moment que j'ai coder en sourcepawn donc ... l'envie ma repris de coder je vous partager mon premier plugin depuis ma reprise...

    Ce plugin vous donne une fumi 1 gre 2 flash

    Commandes d'utilisation :

    sm_pack_grenade => Console

    !sm_pack_grenade => chat

    !pack_grenade => Chat

    Code Source :


    //---------------------------------------------------
    //--------include ligne------------------------------
    //---------------------------------------------------
    #include <sourcemod>
    #include <sdktools>
    #include <clients>
    #include <admin>
    #include "colors.inc"
    //---------------------------------------------------
    //--------Define ligne-------------------------------
    //---------------------------------------------------
    #define MAX_PLAYERS 64;
    #define _ADMIN_FLAG_ ADMFLAG_CUSTOM1;
    //---------------------------------------------------
    //--------public var of plugin-----------------------
    //---------------------------------------------------
    public Plugin:myinfo =
    {
    name = "Pack Grenade Beta",
    author = "iNex",
    description = "Pack Grenade",
    version = "0.0154B",
    url = "www.daily-studio.com"
    }
    public OnPluginStart()
    {
    RegAdminCmd("sm_pack_grenade", Command_give_grenade, ADMFLAG_CUSTOM1);
    }
    public Action:Command_give_grenade(client, args)
    {
    GivePlayerItem(client, "weapon_hegrenade");
    GivePlayerItem(client, "Weapon_FlashBang");
    GivePlayerItem(client, "Weapon_FlashBang");
    GivePlayerItem(client, "weapon_SmokeGrenade");
    CPrintToChat(client, "{green}[{default}Daily-Studio{green}]{default}Vous avez reçus votre Grenade pack");
    }
    [/Code]

    www.daily-Studio.com/grenade_pack.rar

     

    Have Fun

    Cordialement,

    iNex.

    Edited by iNex
    Link to comment
    Share on other sites

     

    ---------- Post added at 20h25 ---------- Previous post was at 19h58 ----------

     

    pas obliger du moment que la source est donner il suffit de la copier coller dans un fichier en .sp ^^"

    Edited by iNex
    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...