Results 1 to 4 of 4
  1. #1
    shotyoudie's Avatar
    Join Date
    May 2009
    Gender
    female
    Posts
    119
    Reputation
    10
    Thanks
    6
    My Mood
    Angelic

    [SOLVED] Searching for some code

    Hi,

    I need a few things but i dont know how i can script it:
    Onplayerspawn they got only one bullet, and every 5 seconds they get a new one. but if they got one already it doesn't give a new one.

    i know this one:
    getWeaponAmmoClip(level.currentgun);
    setWeaponAmmoClip(level.currentgun, amount);

    and on onplayerspawn:
    self setWeaponAmmoClip(level.currentgun, 1);

    But it doesn't work.

    EDIT: is it possible to shoot semtexes? cuz semtex_mp just shoots bullets.
    Last edited by Insane; 09-26-2010 at 08:38 AM.

  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,831
    Reputation
    3350
    Thanks
    75,254
    My Mood
    Breezy
    Code:
    while(1)
    {
        currentgun = self getCurrentWeapon();
        clipCount = self GetWeaponAmmoClip(currentgun);
        if(clipCount == 0)
        self setWeaponAmmoClip(currentgun, 1);
        wait 5;
    }
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7 *NEW* 2017 Update!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  3. #3
    shotyoudie's Avatar
    Join Date
    May 2009
    Gender
    female
    Posts
    119
    Reputation
    10
    Thanks
    6
    My Mood
    Angelic
    awesome, thx!

  4. #4
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    2,005
    /Marked as Solved

Similar Threads

  1. [Solved] I am searching for a G00D Coding Team! Help ME! Enter pLease Topic!
    By Joker4Hack in forum CrossFire Help
    Replies: 5
    Last Post: 08-22-2011, 04:28 PM
  2. Search for some CrossFire - Render
    By MickyTheKing1 in forum CrossFire Discussions
    Replies: 12
    Last Post: 06-14-2011, 09:45 AM
  3. [Source Code] some codes for ..
    By YellowDanger in forum CrossFire Hacks & Cheats
    Replies: 15
    Last Post: 03-14-2010, 05:22 AM
  4. Replies: 0
    Last Post: 02-06-2008, 02:30 AM
  5. Searching for retail code
    By poncho007 in forum Trade Accounts/Keys/Items
    Replies: 6
    Last Post: 08-01-2007, 07:53 PM