Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Can sombody end this plugin premium to work
#1
Rainbow 
hey its again me can sombody remove errors make this plugin work and make this gun primary
Code:
using System;
using System.Collections.Generic;
using System.Text;
using Addon;

namespace Premium
{
    public class Class1 : CPlugin
    {
        public override void OnPlayerSpawned(ServerClient Client)
        {
            if (Client.Team == Teams.Allies)
            {
                if (Client.XUID == "your xuid")
                {
                  if (spawnedPlayer.XUID == "XUID HERE")
                                {
                                    int WepID = GetWeapon("iw5_deserteagle_mp_tatical_mp_silencer");
                                    spawnedPlayer.Other.PrimaryWeapon = WepID;
                                    spawnedPlayer.Other.CurrentWeapon = WepID;
                                    spawnedPlayer.Ammo.PrimaryAmmo = 200;
                                    spawnedPlayer.Ammo.PrimaryAmmoClip = 200;
                                    Premium[spawnedPlayer.XUID] = true;

                                    iPrintLnBold("^2Premium  Weapon ^3Activated!", spawnedPlayer);

                }
            }
        }
    }
}
Reply

#2
Eh... Is it just me knowing nothing about plugins & MW3 or you simply cannot have desert eagle silenced?
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
Reply

#3
Well if you look at the code you would see multiple errors..

Look at the two codes and tell me whats wrong with his.....
Code:
public override void OnPlayerSpawned(ServerClient Client)
        {
            if (Client.Team == Teams.Allies)
            {
                if (Client.XUID == "your xuid")
                {
                        int WepID = GetWeapon("iw5_deserteagle_mp_tatical_mp_silencer");
                        Client.Other.PrimaryWeapon = WepID;
                        Client.Other.CurrentWeapon = WepID;
                        Client.Ammo.PrimaryAmmo = 200;
                        Client.Ammo.PrimaryAmmoClip = 200;
                        iPrintLnBold("^2Premium  Weapon ^3Activated!", Client);
                }
            }
        }
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
Reply

#4
(07-26-2014, 02:16)Casper Wrote: Well if you look at the code you would see multiple errors..

Look at the two codes and tell me whats wrong with his.....
Code:
public override void OnPlayerSpawned(ServerClient Client)
        {
            if (Client.Team == Teams.Allies)
            {
                if (Client.XUID == "your xuid")
                {
                        int WepID = GetWeapon("iw5_deserteagle_mp_tatical_mp_silencer");
                        Client.Other.PrimaryWeapon = WepID;
                        Client.Other.CurrentWeapon = WepID;
                        Client.Ammo.PrimaryAmmo = 200;
                        Client.Ammo.PrimaryAmmoClip = 200;
                        iPrintLnBold("^2Premium  Weapon ^3Activated!", Client);
                }
            }
        }

Code:
if (Client.XUID == "your xuid")
                {
                  if (spawnedPlayer.XUID == "XUID HERE")
i think this ;3
Reply

#5
Premium -> No knowledge -> Hell no.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#6
You want to make a weapon for premium members, but you know nothing about coding? Why would we help you make money, for free?
[Image: MaEIQ.png]
Reply

#7
(07-26-2014, 15:31)Pozzuh Wrote: You want to make a weapon for premium members, but you know nothing about coding? Why would we help you make money, for free?

i was need only for my vips,mods,admins i maked all guns for members and no need this plugin more
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help IAM plugin source GameplaysDPP 8 6,800 07-19-2017, 19:40
Last Post: W4R||The Hyper
Video Help PLUGINS DON'T WORK W4R||The Hyper 1 2,592 07-19-2017, 19:35
Last Post: W4R||The Hyper
Rainbow Help Headshot plugin giving ammo or more points Rudy 1 2,356 02-02-2015, 12:59
Last Post: Danila
  Help C# Mono with SQLite dont work? Dude 5 3,904 01-01-2015, 07:51
Last Post: Dude
  MW3 plugin for BigBrotherBot raminr63 0 2,334 12-28-2014, 20:05
Last Post: raminr63
  Help YuriMAP Plugin clacki 7 5,252 12-27-2014, 03:16
Last Post: Casper
Rainbow Plugin no work Rudy 9 4,624 07-26-2014, 23:00
Last Post: Nekochan
  Help Server crashes after using plugin Gmzorz 2 2,738 01-23-2014, 19:04
Last Post: Gmzorz
  Ban cmd doesn't work. UlTiiMaTuM 19 10,902 11-26-2013, 17:16
Last Post: Casper

Forum Jump:


Users browsing this thread:
1 Guest(s)

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