Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    L33TGamer
    Taste The Rainbow
    777ATRiiX's Avatar
    Join Date
    Jun 2011
    Location
    Canada
    Posts
    320
    Points
    266
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Canada
    Posts
    320
    Points
    266
    Gamer IDs

    PSN ID: MATRiiX360

    Contact info:

    Youtube Channel: www.youtube.com/user/777ATRiiX

    Default [SC7E52] Simple Gun Ammo

    Just Today I Asked CheeseToast How To Script He Said:
    [2:52:05 PM] CheeseToast: No.
    [2:52:13 PM] CheeseToast: I learned all this stuff by myself.
    [2:52:16 PM] CheeseToast: If I can, then you can.
    [2:52:24 PM] CheeseToast: Nobody taught me how to mod the way I mod.
    Real Good Inspiration
    Then He Said Make Them Yourself But Start Simple So Here Is What I Came Up With
    A Simple MaxAmmo Script For Certain Guns And Grenades Which Is Good For Gametypes

    GunAmmo
    Code:
    GunAmmo()
    {
    	for(;;)
    	{
    		if( self AttackButtonPressed() )
    	{
    		self giveMaxAmmo( "GUN_NAME_HERE_mp" );
    	}
    	wait 0.1;
    	}
    }
    GenadeAmmo
    Code:
    GrenadeAmmo()
    {
    	for(;;)
    	{
    		if( self FragButtonPressed() )
    	{
    		self giveMaxAmmo( "GRENADE_NAME_HERE_mp" );
    	}
    	wait 0.1;
    	}
    }
    Thanks CheeseToast For The Little Inspiration

    0 Not allowed! Not allowed!
    Quote Originally Posted by RED 58 View Post
    I especially want to wish S&S Skittles a Merry Christmas!

    I Am S&S Skittles

  2. #2
    Tig O Bitties
    Grey's Avatar
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964

    Contact info:

    Youtube Channel: http://www.youtube.com/l3g3darymods

    Default

    good simple script.

    one good idea for improvement is make a script and add parts that arn't really needed for it just so you can practice with different forms and helps with knowledge.
    Just like in math class. Most likely you'll never use what you learn in math, but its just to expand your intellect.

    example:

    example()
    {
    self.on = 1;

    while( self.on == 1)
    {
    self giveMaxAmmo( "gun_mp" );
    wait 1;
    }
    }

    instead of just doing

    example2()
    {
    while(1)
    {
    self giveMaxAmmo( "gun_mp" );
    wait 1;
    }
    }

    0 Not allowed! Not allowed!

  3. #3
    L33TGamer
    Taste The Rainbow
    777ATRiiX's Avatar
    Join Date
    Jun 2011
    Location
    Canada
    Posts
    320
    Points
    266
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Canada
    Posts
    320
    Points
    266
    Gamer IDs

    PSN ID: MATRiiX360

    Contact info:

    Youtube Channel: www.youtube.com/user/777ATRiiX

    Default

    Thanks for the advice

    0 Not allowed! Not allowed!
    Quote Originally Posted by RED 58 View Post
    I especially want to wish S&S Skittles a Merry Christmas!

    I Am S&S Skittles

  4. #4
    Banned
    Join Date
    May 2011
    Posts
    917
    Points
    1,182
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    917
    Points
    1,182

    Default

    Good try bud!! Glad to see you taking on. I myself learned all on my own, I had no knowledge of Java.

    0 Not allowed! Not allowed!

  5. #5
    Banned
    Join Date
    May 2012
    Posts
    337
    Points
    702
         User Info     Contact     Gamer ID
    Join Date
    May 2012
    Posts
    337
    Points
    702
    Gamer IDs

    Gamertag: jasp3r p0150nz

    Default

    We all have to start somewhere good job just as stated before it's a nice simple script.
    Maybe you can add
    self setWeaponAmmoClip( currentWeapon, 9999 ); to the script

    0 Not allowed! Not allowed!

  6. #6
    L33TGamer
    Taste The Rainbow
    777ATRiiX's Avatar
    Join Date
    Jun 2011
    Location
    Canada
    Posts
    320
    Points
    266
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Canada
    Posts
    320
    Points
    266
    Gamer IDs

    PSN ID: MATRiiX360

    Contact info:

    Youtube Channel: www.youtube.com/user/777ATRiiX

    Default

    thats what i was thinking but i didnt know how

    0 Not allowed! Not allowed!
    Quote Originally Posted by RED 58 View Post
    I especially want to wish S&S Skittles a Merry Christmas!

    I Am S&S Skittles

  7. #7
    Banned
    Join Date
    May 2011
    Posts
    917
    Points
    1,182
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    917
    Points
    1,182

    Default

    Quote Originally Posted by ☢NuclearModz☢ View Post
    We all have to start somewhere good job just as stated before it's a nice simple script.
    Maybe you can add
    self setWeaponAmmoClip( currentWeapon, 9999 ); to the script
    No Fag, You sir are a idiot! currentWeapon is a command you used or ripped from somebody else.

    0 Not allowed! Not allowed!

  8. #8
    Banned
    Join Date
    May 2012
    Posts
    337
    Points
    702
         User Info     Contact     Gamer ID
    Join Date
    May 2012
    Posts
    337
    Points
    702
    Gamer IDs

    Gamertag: jasp3r p0150nz

    Default

    Quote Originally Posted by MrderVonJuden View Post
    No Fag, You sir are a idiot! currentWeapon is a command you used or ripped from somebody else.
    its not a command! (Or at least it is not supposed to be) Its telling you to put weapon name there like l96a1_mp now its a simple fucking dvar i did not steal it ur just pissed about ur gay infect script

    0 Not allowed! Not allowed!

  9. #9
    Xat Scamming Shitstick
    1338
    sLoddir's Avatar
    Join Date
    Aug 2011
    Location
    Indiana
    Posts
    1,167
    Points
    1,214
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Indiana
    Posts
    1,167
    Points
    1,214

    Contact info:

    Youtube Channel: SLODDIR

    Default

    Quote Originally Posted by MrderVonJuden View Post
    Good try bud!! Glad to see you taking on. I myself learned all on my own, I had no knowledge of Java.
    Last time I checked, It was C++ not java. ( I may be wrong though )

    0 Not allowed! Not allowed!


    CLARKS WALLABEE'S MOTHERFUCKER

  10. #10
    Banned
    Join Date
    May 2012
    Posts
    337
    Points
    702
         User Info     Contact     Gamer ID
    Join Date
    May 2012
    Posts
    337
    Points
    702
    Gamer IDs

    Gamertag: jasp3r p0150nz

    Default

    Quote Originally Posted by sLoddir View Post
    Last time I checked, It was C++ not java. ( I may be wrong though )
    When Did You Check?

    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 12:44 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.