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-07-2013, 06:41 PM #2
lfclegend321
Vault dweller
Originally posted by xCurly View Post
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:


Yeah man, even if the gun worked in a way where it randomizes when it gets a bullet for the shot, Can you try uploading that file bro, theres something seriously qrong with my wireles xD
01-07-2013, 07:04 PM #3
Komet웃
Do a barrel roll!
Originally posted by lfclegend321 View Post
Yeah man, even if the gun worked in a way where it randomizes when it gets a bullet for the shot, Can you try uploading that file bro, theres something seriously qrong with my wireles xD

On mediafire or sumtin like?

Originally posted by Zz69zZ View Post
hahahaha yet you cant groan Smile
to be honest its a pretty good idea


Thanks you Smile
01-07-2013, 07:05 PM #4
xByNovaa
Space Ninja
I dont get whats the point of this.
01-07-2013, 07:09 PM #5
seb5594
Proud Former Admin
Originally posted by xByNovaa View Post
I dont get whats the point of this.


Give ideas to good Coder who can realize the Idea ...

The following user thanked seb5594 for this useful post:

Komet웃
01-07-2013, 07:31 PM #6
Komet웃
Do a barrel roll!
Originally posted by seb5594 View Post
Give ideas to good Coder who can realize the Idea ...


Do you like it? Winky Winky
01-07-2013, 08:05 PM #7
You could take what ever mw2 random number function is and then from there you could then have it return some numbers, and the have a if number = whatever then fire shot. and then for the miss you could have same set up number = whatever, but have it make the click like the gun is out of ammo. I can try and find the function in a little bit and get a better example.

The following user thanked ILuckyMods for this useful post:

Komet웃
01-07-2013, 09:51 PM #8
Originally posted by xCurly View Post
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:


that would take like 5 minutes to make. haha just give them a revolver then..

if(randomInt(10) == 3)
//do shit

so you have a 10 percent chance of getting a bullet or w/e

The following 2 users say thank you to Jakes625 for this useful post:

Komet웃,
01-08-2013, 05:41 AM #9
ModdedModder
Gym leader
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);
}
}

The following user thanked ModdedModder for this useful post:

Komet웃
01-08-2013, 02:42 PM #10
Komet웃
Do a barrel roll!
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);
}
}

yes but i was thinking just instead of the gun getting one bullet that when you get a bullet it acctually kills yourself lol

(nvm lol)

---------- Post added at 02:42 PM ---------- Previous post was at 02:36 PM ----------

bad syntax :/

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo