• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
buttons and keys
#11
(01-07-2011, 14:14)prisma Wrote:
PHP Code:
zombiecheck()
{
    
self endon"death" );

    if( 
self getcurrentweapon() != "knife_ballistic_mp"// != means is not... So if the weapon isnt the knife it will switch the weapon
    
{
        
self takeAllWeapons();
        
self giveWeapon"knife_ballistic_mp"5false );
        
self switchToWeapon("knife_ballistic_mp"); 
    }
    
wait 0.05;


Maybe ? I dont know if it works...

Hmm I don't know if that would work because I think there should be a loop or you will only get taken off your picked up weapon once. I haven't tested it, just saying Big Grin
  Reply
#12
(01-07-2011, 17:44)Devilmaster666 Wrote: Hmm I don't know if that would work because I think there should be a loop or you will only get taken off your picked up weapon once. I haven't tested it, just saying Big Grin
Then just add a while(1) Big Grin
  Reply
#13
(01-07-2011, 14:14)prisma Wrote:
PHP Code:
zombiecheck()
{
    
self endon"death" );

    if( 
self getcurrentweapon() != "knife_ballistic_mp"// != means is not... So if the weapon isnt the knife it will switch the weapon
    
{
        
self takeAllWeapons();
        
self giveWeapon"knife_ballistic_mp"5false );
        
self switchToWeapon("knife_ballistic_mp"); 
    }
    
wait 0.05;


Maybe ? I dont know if it works...

it does not work
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Steam keys Arteq 9 7,082 08-29-2013, 18:55
Last Post: DidUknowiPwn
  Where can I find a list of scripting commands that correspond to ingame buttons? akillj 2 2,810 06-03-2013, 10:38
Last Post: Yamato
  Black Ops 2 *RoW* Keys available now! d0h! 345 149,093 04-05-2013, 18:12
Last Post: SuperNovaAO
  [Request] Russian Black Ops 2 keys SuperNovaAO 10 8,044 04-05-2013, 18:10
Last Post: SuperNovaAO
  Activation Keys For C#, VB.NET Etc KrypTiK 6 6,053 12-31-2012, 18:37
Last Post: Ich1994
  Hawken Closed Beta Event 3 Keys for PC [DA]Bad Blood 1 2,318 11-20-2012, 23:31
Last Post: SuperNovaAO
  [Giveaway] Beta keys and Items RaZ 8 4,547 10-19-2012, 16:00
Last Post: RaZ
  [GIVEAWAY] 2 Steam Community Beta keys SuperNovaAO 22 9,104 08-25-2012, 21:21
Last Post: SuperNovaAO
  [Giveaway] Beta Keys Romuald27 13 7,971 07-31-2012, 12:48
Last Post: Nielborn
  [Giveaway] 3 Metro 2033 keys Nukem 36 16,238 07-27-2012, 15:00
Last Post: d0h!

Forum Jump:


Users browsing this thread: 1 Guest(s)