ItsMods

Full Version: Desert Eagle and Striker Damage Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(01-25-2014, 11:12)hillbilly Wrote: [ -> ]or try


if (spawnedPlayer.XUID == "XUID HERE")
{
int WepID = GetWeapon("iw5_acr_mp_reflex");
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);

}

is it possible for more then 1 premium gun?
... I thought this was already answered.
. . . . you thought wrong Troll
PHP Code:
if (spawnedPlayer.XUID == "XUID HERE")
                                {
                                    
int WepID GetWeapon("iw5_acr_mp_reflex");
                                    
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);

                                }
                          else
                          {
                           if (
spawnedPlayer.XUID == "XUID HERE")
                                {
                                    
int WepID GetWeapon("iw5_acr_mp_reflex");
                                    
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);

                                }
                       } 
}
Is it possible to make a plugin for when a certain xuid spawns it changes the Fov scale to 1.8? like the Fat thing on the RTD mod...
Hey i search only a desert eagle more damage plugin idk what to do with that code :o pls help
(03-12-2014, 19:31)Dragon252 Wrote: [ -> ]Hey i search only a desert eagle more damage plugin idk what to do with that code :o pls help

I have the code now, I was a noob (and I still am). Smile
Pages: 1 2