Quantcast

Jump to content

» «
Photo

GTA:SA Opcodes

874 replies to this topic
Silent
  • Silent

    Chief Vision™ Alterer

  • GTA Mods Staff
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [Modding] 2016
    Contribution Award [Mods]
    Best Script/Plugin 2014 [SilentPatch]
    Most Respected 2014
    Most Helpful [Mods] 2014
    Most Helpful [GTA] 2013
    Most Helpful [Mods] 2013
    Most Talented [Modding] 2013
    Best Map 2013 [ViceCityStories PC Edition]
    Best Vehicle 2013 [III Aircraft]
    Most Helpful [Mods] 2012
    Modder of the Year 2012

#871

Posted 27 August 2012 - 08:54 PM Edited by Adler, 28 August 2012 - 05:04 AM.

QUOTE (Link2012 @ Monday, Aug 27 2012, 21:55)
EDIT: Topic title should change  whatsthat.gif

This is not SA opcodes topic though whatsthat.gif

---

It is now. wink.gif

LINK/2012
  • LINK/2012

    LIVIN' IN CODE

  • Feroci
  • Joined: 30 Jan 2011
  • Brazil
  • Best Tool 2014 [Mod Loader]
    Contribution Award [Mods]

#872

Posted 27 August 2012 - 08:59 PM

I never thought there was a topic for SA, since I never saw it bumped...
I will contact moderation to move my post then.

Deji
  • Deji

    Coding like a Rockstar!

  • Feroci
  • Joined: 24 Dec 2007
  • None
  • Contribution Award [Mods]

#873

Posted 27 August 2012 - 09:04 PM

QUOTE (Link2012 @ Monday, Aug 27 2012, 20:59)
I never thought there was a topic for SA, since I never saw it bumped...
I will contact moderation to move my post then.

Hey, if you do that, our subsequent posts won't make any sense!

Oh yeah, better stop posting, just giving the moderator more to do moto_whistle.gif

ZAZ
  • ZAZ

    Kernlochbohrer

  • Feroci
  • Joined: 10 Jan 2005
  • European-Union
  • Contribution Award [Mods]
    Helpfulness Awards [Mods]

#874

Posted 16 January 2013 - 09:28 PM

0835: returns the in-game day of the month and month of the year
but the joke is: the day changes by each savegame
the days are counting to 31 and change then the month value
I don't know if it consider months with 30 or 28 days
CODE
{$CLEO .cs}
thread 'DYMONTH'

while true
wait 0
0835: get_month_day_to [email protected] get_month_to [email protected]
03F0: enable_text_draw 1
045A: text_draw_1number  50.0  100.0 'NUMBER' [email protected]    // value
045A: text_draw_1number  50.0  130.0 'NUMBER' [email protected]    // value
045A: text_draw_1number  50.0  200.0 'NUMBER' $CURRENT_MONTH_DAY    // value
045A: text_draw_1number  50.0  230.0 'NUMBER' $CURRENT_MONTH    // value
end

Silent
  • Silent

    Chief Vision™ Alterer

  • GTA Mods Staff
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [Modding] 2016
    Contribution Award [Mods]
    Best Script/Plugin 2014 [SilentPatch]
    Most Respected 2014
    Most Helpful [Mods] 2014
    Most Helpful [GTA] 2013
    Most Helpful [Mods] 2013
    Most Talented [Modding] 2013
    Best Map 2013 [ViceCityStories PC Edition]
    Best Vehicle 2013 [III Aircraft]
    Most Helpful [Mods] 2012
    Modder of the Year 2012

#875

Posted 17 January 2013 - 04:51 PM

Not new, ZAZ tounge.gif

Calendar is fully working in SA, days and months are counted from Jan 1 on the new savegame and saved. Months even have rtheir respective amount of days (February having 29 days, as in real leap year).




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users