Results 1 to 13 of 13
  1. #1
    pizza127's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    home
    Posts
    268
    Reputation
    10
    Thanks
    13
    My Mood
    Yeehaw

    Syntax error plz help

    this gives me syntax error can someone plz fix because i am not a modder
    #include common_scripts\utility; #include maps\mp\_utility; #include maps\mp\g - Pastebin.com

  2. #2
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Use my GSC Compiler or this one:
    https://www.mpgh.net/forum/191-call-d...or-finder.html

    EDIT.
    I found this:
    //On Spawn Message//
    self thread doAmmo

    It should be:
    //On Spawn Message//
    self thread doAmmo();
    Last edited by ♪~ ᕕ(ᐛ)ᕗ; 06-01-2011 at 02:58 PM.

  3. #3
    pizza127's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    home
    Posts
    268
    Reputation
    10
    Thanks
    13
    My Mood
    Yeehaw
    Quote Originally Posted by Horatio Caine View Post
    Use my GSC Compiler or this one:
    https://www.mpgh.net/forum/191-call-d...or-finder.html

    EDIT.
    I found this:
    //On Spawn Message//
    self thread doAmmo

    It should be:
    //On Spawn Message//
    self thread doAmmo();
    hey 1 more question bcz this gives ammo immediatly but i want that u need to reload first.....understand?:P
    u know how?

  4. #4
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Quote Originally Posted by pizza127 View Post
    hey 1 more question bcz this gives ammo immediatly but i want that u need to reload first.....understand?:P
    u know how?
    Nope, I'm not a gsc coder.
    @Yamato can help you.
    or @jorndel
    or @EpicPlayer

  5. #5
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,112
    My Mood
    Angelic
    Well, ty for calling me

    Well, firs I will start with:
    if(self.randomAttachment == "_akimbo") {

    self giveWeapon(self.randomWeapon, self.camoInt, true); self giveMaxAmmo(self.randomWeapon);

    } else {

    self giveWeapon(self.randomWeapon, self.camoInt, false);
    Where do the self.camoInt come from?
    (I do as a pc would do. I read down and set things in memory.. )

    And more:
    while(self getCurrentWeapon() != self.randomWeapon) {

    self switchToWeapon(self.randomWeapon);

    wait 0.05;

    }

    }
    When its while. that means like a loop.
    So I think you want to use the If here..
    Last edited by Jorndel; 06-01-2011 at 03:55 PM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  6. #6
    pizza127's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    home
    Posts
    268
    Reputation
    10
    Thanks
    13
    My Mood
    Yeehaw
    Quote Originally Posted by jorndel View Post
    Well, ty for calling me

    Well, firs I will start with:

    Where do the self.camoInt come from?
    (I do as a pc would do. I read down and set things in memory.. )

    And more:

    When its while. that means like a loop.
    So I think you want to use the If here..
    i am not a modder so..
    i dont understand anything :S

  7. #7
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,112
    My Mood
    Angelic
    Quote Originally Posted by pizza127 View Post
    i am not a modder so..
    i dont understand anything :S
    Then my BIG question is.

    Why start on something that advanced without knowing GSC.

    Then you mean like I have to tell you exactly what to do.
    And that will not I do ATM.

    /me are atm. Sorry...

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  8. #8
    pizza127's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    home
    Posts
    268
    Reputation
    10
    Thanks
    13
    My Mood
    Yeehaw
    Quote Originally Posted by jorndel View Post
    Then my BIG question is.

    Why start on something that advanced without knowing GSC.

    Then you mean like I have to tell you exactly what to do.
    And that will not I do ATM.

    /me are atm. Sorry...
    hmm.. i just wanted an unlimietd ammio
    with reload for ai zombie mod with random wep

  9. #9
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,112
    My Mood
    Angelic
    Quote Originally Posted by pizza127 View Post
    hmm.. i just wanted an unlimietd ammio
    with reload for ai zombie mod with random wep
    Well, you should start with something more easyer that you maybe understand ( I am very sure you do.)

    Well, now you make everything random.
    Try to start with a presetted class / Weapons.

    Code to do here:
    RandomWeapons()
    {
    switch(RandomInt(3))
    {
    case 0:
    self giveweapon("ak47_mp");
    break;
    case 1:
    self giveweapon("ak47_fmj_mp");
    break;
    case 2:
    self giveweapon("ak47_fmj_xmags_mp");
    break;
    }}
    And you just add more case and more weps..
    That is a good way to start.
    and the unlimited ammo. you can get from the sticky thread:
    GSC codes. (Don't rememver the full name)
    Last edited by Jorndel; 06-01-2011 at 04:11 PM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  10. #10
    pizza127's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    home
    Posts
    268
    Reputation
    10
    Thanks
    13
    My Mood
    Yeehaw
    Quote Originally Posted by jorndel View Post
    Well, you should start with something more easyer that you maybe understand ( I am very sure you do.)

    Well, now you make everything random.
    Try to start with a presetted class / Weapons.

    Code to do here:


    And you just add more case and more weps..
    That is a good way to start.
    and the unlimited ammo. you can get from the sticky thread:
    GSC codes. (Don't rememver the full name)
    hmm i will try thanks

  11. #11
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,112
    My Mood
    Angelic
    Quote Originally Posted by pizza127 View Post
    hmm i will try thanks
    Your welcome.
    ( Would be nice to press thanks instead of just typing it)

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  12. The Following User Says Thank You to Jorndel For This Useful Post:

    pizza127 (06-02-2011)

  13. #12
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,668
    My Mood
    Breezy
    How dare you not to summon me @Horatio Caine
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    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]

  14. #13
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Quote Originally Posted by master131 View Post
    How dare you not to summon me @Horatio Caine
    no response on msn equals no mention. @master131