Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Help me with a code (who knows)
#1
Smile 
hey hello help me, is possible to make what axis (zombie)
I want to make that zombies could use for example riotshield only once for the death . you can give an approximate code on it? who knows . thanks Smile

Code:
using System;
using Addon;
using System.Timers;

namespace plugin_test_BlackDay
{
    //" : CPlugin"     Black Day
    public class plugin_test_BlackDay : CPlugin
    {
        //    Black Day
        bool mp5 = false;
        //
        public override void OnMapChange()
        {
            mp5 = false;
        }

        public override void OnServerLoad()
        {
            ServerPrint("**NyZzE Black Day_Load**");
        }

        public void NyZzEFunc(ServerClient Client)
        {
            iPrintLnBold("^1|akimbo Load ^2" + Client.Name + "", null);
            int mp5 = GetWeapon("iw5_riotshield_mp");
            Client.Other.MaxHealth = 170;
            Client.Other.Health = 170;
        }

        public override ChatType OnSay(string Message, ServerClient Client)
        {
            ServerPrint("Player " + Client.Name + "said " + Message);
            if (Client.Team == Teams.Allies)
            {
                if (Message == "!1")
                {
                    if (mp5 == true)
                    {
                        NyZzEFunc(Client);
                        return ChatType.ChatNone;
                    }
                    else if (mp5 == false)
                    {
                        TellClient(Client.ClientNum, "^1", true);
                        return ChatType.ChatNone;
                    }
                }
            }
            else if (Client.Team == Teams.Axis)
            {
                if (Message == "!1")
                {
                    TellClient(Client.ClientNum, "^1", true);
                    return ChatType.ChatNone;
                }
            }
            return ChatType.ChatContinue;
        }
    }
}
[Image: doc137842780_192751677?hash=1bfc334a6fc0...7907&wnd=1]
======================================
Reply

#2
Reply

#3
[Image: doc137842780_192751677?hash=1bfc334a6fc0...7907&wnd=1]
======================================
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Code color crosshairs koren30 3 3,663 10-02-2013, 19:26
Last Post: koren30
  Help need help?how to make plugins code hXnarutoXone 12 7,822 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Need Help with C# code tubwux 2 3,119 08-27-2013, 18:18
Last Post: tubwux
  [Request] Compile this code please dozsa0 4 3,821 08-10-2013, 21:02
Last Post: Nukem
  Compile this code please First_Semyon 12 8,911 08-08-2013, 14:53
Last Post: Bandarigoda123
  Compile please this code First_Semyon 8 5,194 07-28-2013, 01:52
Last Post: First_Semyon
  Code of vector Bloodfocus 1 2,217 06-23-2013, 11:54
Last Post: Yamato
  problem with gsc code CheGuevara 5 5,106 04-20-2013, 15:06
Last Post: Nekochan
Tongue [Request] read if you have a cs:go code:) rawr-saours 5 3,800 04-05-2013, 18:15
Last Post: SuperNovaAO
  Help error code [HARD] Tony. 2 2,822 03-23-2013, 00:19
Last Post: 8q4s8

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.