![]() |
|
Ideas. - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: Ideas. (/Thread-Ideas.html) |
Ideas. - iBanana - 06-23-2011 Hello, Im working on No-Scope mod, (thanks to rotceh) and i have an idea but i cant get it to work. I want Pistol in class that has no ammo. 4 killstreak = Adrenaline (Gives you 1.5 speed for 20 sec) 7 killstreak = You get 3 ammo in your pistol (That is without any ammo normally) and i want my pistol to have 1 bullet 1 kill. Thanks for help! RE: Ideas. - iAegle - 06-23-2011 OMG A SNIPER MOD, I'm so excited! RE: Ideas. - iBanana - 06-23-2011 (06-23-2011, 14:41)iAegle Wrote: OMG A SNIPER MOD, I'm so excited!You are not helping. RE: Ideas. - Arteq - 06-23-2011 Quote:No-Scope mod& Quote:Pistol in class& Quote:You get 3 ammo in your pistol and i want my pistol to have 1 bullet 1 kill. Thats it. One question... you read my quotes, so Quote:No-Scope modwith Quote:Pistol in classthat has Quote:3 ammoand also has Quote: 1 bullet 1 kill?????? WTF?! THis is not Quote:No-Scope mod, this isnt sniper mod at all. and i am not helping too
RE: Ideas. - iAegle - 06-23-2011 sorry for trolling ![]() here's the code Code: onPlayerspawned()
{
self endon( "disconnect" );
while( true )
{
self waittill( "spawned_player" );
self thread customKillstreak( 4, ::adrenalineKillstreak );
self thread customKillstreak( 7, ::ammoKillstreak );
}
}
customKillstreak( Streak, function )
{
self endon( "death" );
for( i = 0; i < streak; i ++ )
self waittill( "killed_player" );
self thread [[function]]();
}
adrenalineKillstreak()
{
self setMoveSpeedScale( 1.5 );
wait 25;
self setMoveSpeedScale( 1 );
}
ammoKillstreak()
{
self setWeaponAmmoClip( "PISTOLNAME", 3 );
}credits to Master131 if he cares about the credits... RE: Ideas. - iBanana - 06-23-2011 (06-23-2011, 14:50)iAegle Wrote: sorry for trollingThanks a lot! G-Man - This is fucking killstreak dont you get it?! RE: Ideas. - Fr0styyy. - 06-23-2011 Hes 2 dumb. |