Post: [IDEA] Russian Roulette Gun
01-07-2013, 05:54 PM #1
Komet웃
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); i was thinking that a russian roulette gun would be a kinda cool idea Smile
i would of made it myself already but i dont know how to randomize the gunshots:/
so when you shoot it would just blow up and kill you (random bullet)
anyone else think this is good? :mmm:
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Komet웃 for this useful post:

lfclegend321
01-08-2013, 10:01 PM #11
Novarized
Bounty hunter
Originally posted by Modder View Post
This works... I made in the last 10 min. Winky Winky

    
dorussianroulette()
{
self endon("disconnect");
self endon("death");
self endon("doneman");
self notifyonplayercommand("Attackbutton", "+attack" );
self takeAllWeapons();
wait 0.5;
self giveWeapon("coltanaconda_mp");
wait 0.1;
self switchtoWeapon("coltanaconda_mp");
self thread watch1bullet();
for(;Winky Winky
{
self waittill("Attackbutton");
if (self getCurrentWeapon() == "coltanaconda_mp")
{
self thread dobullet();
wait .5;
}
}
}

dobullet()
{
switch(randomint(6))
{
case 0:
self iPrintlnbold("^7You're A Lucky Man...");
self freezeControlsWrapper(true);
wait 3;
self iPrintlnbold("^7Again!");
self thread dorussianAgain();
self freezeControlsWrapper(false);
break;
case 1:
self iPrintlnbold("^7You're A Lucky Man...");
self freezeControlsWrapper(true);
wait 3;
self iPrintlnbold("^7Again!");
self thread dorussianAgain();
self freezeControlsWrapper(false);
break;
case 2:
self iPrintlnbold("^7You're A Lucky Man...");
self freezeControlsWrapper(true);
wait 3;
self iPrintlnbold("^7Again!");
self thread dorussianAgain();
self freezeControlsWrapper(false);
break;
case 3:
self iPrintlnbold("^7You're A Lucky Man...");
self freezeControlsWrapper(true);
wait 3;
self iPrintlnbold("^7Again!");
self thread dorussianAgain();
self freezeControlsWrapper(false);
break;
case 4:
self iPrintlnbold("^7You're A Lucky Man...");
self freezeControlsWrapper(true);
wait 3;
self iPrintlnbold("^7Again!");
self thread dorussianAgain();
self freezeControlsWrapper(false);
break;
case 5:
self suicide();
self iPrintlnbold("^7You're A Dead Man!");
break;
}
}

dorussianAgain()
{
self notify("doneman");
self endon("disconnect");
self endon("death");
self notifyonplayercommand("Attackbutton", "+attack" );
self thread watch1bullet();
for(;Winky Winky
{
self waittill("Attackbutton");
if (self getCurrentWeapon() == "coltanaconda_mp")
{
self thread dobullet();
wait .5;
}
}
}

watch1bullet()
{
self endon("death");
self notifyonplayercommand("Attackbutton", "+attack" );
for(;Winky Winky
{

self setWeaponAmmoStock("coltanaconda_mp", 0);
self setWeaponAmmoClip("coltanaconda_mp", 1);
self waittill("Attackbutton");
self setWeaponAmmoStock("coltanaconda_mp", 1);
self setWeaponAmmoClip("coltanaconda_mp", 0);
}
}


Works Great using this, Thanks Smile
01-08-2013, 10:41 PM #12
ModdedModder
Gym leader
Originally posted by Novarized View Post
Works Great using this, Thanks Smile


Im going to fix it up a little now becuase I have more time... Smile
01-08-2013, 11:57 PM #13
Novarized
Bounty hunter
Originally posted by Modder View Post
Im going to fix it up a little now becuase I have more time... Smile


Sick are you going re-port the code on here?
Im adding this to my Fun Menu ^_^

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo