Results 1 to 4 of 4

Thread: [Mod] Question

  1. #1
    Member codex112's Avatar
    Join Date
    Jul 2011
    Posts
    144
    Points
    418
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    144
    Points
    418

    Question [Mod] Question

    To remove Inf.Ammo from A mod menu do i remove this script?

    Code:
    iAmmo()
    {
    	self endon("disconnect");
    
    	for(;;)
    	{
    		self waittill( "weapon_fired" );
    
    		weapon = self getCurrentWeapon();
    		ammo_left = self getWeaponAmmoClip( weapon );
    		new_ammo = self getWeaponAmmoStock( weapon );
    
    		if( ammo_left != new_ammo )
    		{
    			self setWeaponAmmoClip( weapon, new_ammo );
    		}
    	}
    }

    0 Not allowed! Not allowed!

  2. #2
    Diehard [TGOD]L!V!NG_D3@D's Avatar
    Join Date
    Sep 2011
    Posts
    673
    Points
    535
         User Info     Contact     Gamer ID
    Join Date
    Sep 2011
    Posts
    673
    Points
    535

    Default

    yes and u wuld have to remove: self thread iAmmo();
    from on playerspwned or from onplayerconnect it will be on either one if u dnt remov u'll get an error

    0 Not allowed! Not allowed!

  3. #3
    Member codex112's Avatar
    Join Date
    Jul 2011
    Posts
    144
    Points
    418
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    144
    Points
    418

    Default

    Quote Originally Posted by [email protected] View Post
    yes and u wuld have to remove: self thread iAmmo();
    from on playerspwned or from onplayerconnect it will be on either one if u dnt remov u'll get an error
    Thanks

    0 Not allowed! Not allowed!

  4. #4
    Diehard [TGOD]L!V!NG_D3@D's Avatar
    Join Date
    Sep 2011
    Posts
    673
    Points
    535
         User Info     Contact     Gamer ID
    Join Date
    Sep 2011
    Posts
    673
    Points
    535

    Default

    Quote Originally Posted by codex112 View Post
    Thanks
    no prob

    0 Not allowed! Not allowed!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 08:22 PM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.