Eclipse - Free 2D Mmorpg Maker
September 02, 2010, 10:23:07 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Shop Arcade chat Login Register  
 
 
   
 
collapse

* No Spam Or Websites

Refresh History
  • Ertzel: So... Anyone with basic/none/limited photoshop or even paint skills want to make some money converting sprites for me?
    Today at 10:07:35 PM
  • Gamma™: weaver why are you oflfine on H&H? :S
    Today at 10:04:26 PM
  • Ertzel: Ya, only one try per knife, my one try failed :(
    Today at 10:00:17 PM
  • LegendWeaver: is it one use?
    Today at 09:43:15 PM
  • Ertzel: Wish I didnt spend my 1k+ credits to buy the stupid knife that failed at stealing Robins credits >.<
    Today at 09:42:42 PM
  • Wraith: ) Kreator!
    Today at 09:06:52 PM
  • Wraith: yes! you were! (in red text
    Today at 09:06:46 PM
  • ToshiroHayate: Kreator!
    Today at 08:25:02 PM
  • Kreator: o_0 Was I supposed to Wraith?
    Today at 08:16:02 PM
  • [Pie] ICT: Don't worry.. I commented.
    Today at 07:55:08 PM
  • Wraith: Ay, kreator, wtf is up with you not posting anything about my new cliffs??
    Today at 07:50:36 PM

* Recent Topics

[EO] Attaching Problem. by 314piwm
[Today at 10:21:04 PM]


Project Vertigo [2d Tile-based Side-Scrolling Engine] by Miguu
[Today at 10:03:22 PM]


Zacaras Empire (Hiring) by Ertzel
[Today at 08:43:54 PM]


custom cliff tiles by ToshiroHayate
[Today at 08:29:15 PM]


.: RPG Kingdom :. by LegendWeaver
[Today at 08:25:20 PM]


What do you think? by [Pie] ICT
[Today at 07:54:54 PM]


[Show Off] Aztec Stuff by [Pie] ICT
[Today at 07:50:07 PM]


So I herd you liek mudkipz by Kreator
[Today at 07:36:52 PM]


Haven and Hearth: Epic Screenshot Thread by Tompwnage™
[Today at 07:14:21 PM]


The Lonliest Star [RP] by DDunit
[Today at 07:09:46 PM]


* Who's Online


Site Author : Topic: GetPlayerSex for TE  (Read 3170 times)
0 Members and 1 Guest are viewing this topic.
May 17, 2007, 10:35:32 AM
Active Member
***
User No : 2221
Posts: 382
  • 24 credits
  • View Inventory
  • Send Money To Ne0n
  • Location : Canada
    • View Profile
    • WWW
    I think on TE when you create a character the first one appaers at /accounts/ your account.ini and the second and third character appaers under /banks account.ini, I use TES so I'm just guessing, correct me if I'm wrong..

    just place this at the buttom of your main.txt and if you want to use it you could say

    Dim gender
    gender = getplayersex(index)
    If gender = 0 then
        ---
    Else
       ---
    End if

    Quote
    Function GetPlayerSex (index)
    DIM CHNUM
    DIM GEN
    CHNUM = GetPlayerCharNum(index)
       
      If CHNUM = 1 then
      GEN = GetVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Sex")
      ElseIF CHNUM >= 2 then
      GEN = GetVar("Banks\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Sex")
      Call PlayerMsg(index, "SEX " & GEN, 15)
    End if
    GetPlayerSex = GEN   
    End Function

    I dont want credit im starting to learn this kind of stuff so.. ok cool.
    « Last Edit: May 17, 2007, 10:42:08 AM by Neo Daniel » Logged

    DanilO Network™ presents Rebelion Online - The Last Survivor

    Unique PVP system ever seen, Incredible effects and Features..




    Take the Magic: The Gathering 'What Color Are You?' Quiz.
    August 05, 2009, 07:55:41 PM
    Tylias entertainment yo
    Newb
    *
    User No : 13459
    Posts: 8
  • 0 credits
  • View Inventory
  • Send Money To Tylias
    • View Profile
    • WWW
    lol for being new at this you are pretty good :P
    Logged

    TYLIAS ENTERTAINMENT------------------------------
    ---Anime
    ---Machinima
    ---video games
    -----music
    August 05, 2009, 08:53:45 PM
    The survivor of the Uberban (Cousin of the Apocalypse)
    Advanced Member
    ****
    User No : 13212
    Posts: 914
  • 0 credits
  • View Inventory
  • Send Money To ᴰᴻᶺ ᴠᵎᴚᵕϩ
    • View Profile
    Well, what do you expect?
    He's a developer!
    Logged

    It's not your own personal membergroup, it's how we block annoying little tykes like you from using the shoutbox. - Robin

    Stop deleting my signature - ᴰᴻᶺ ᴠᵎᴚᵕϩ
    pyrex stfu
    August 05, 2009, 09:35:20 PM
    That crazy foxy aussie
    Advanced Eclipser
    *****
    User No : 9848
    Posts: 1460
  • 0 credits
  • View Inventory
  • Send Money To [God of Foxiness] Owen
  • Hi thar
    • View Profile
    This is a 2 year old topic, no, more than that (months withstanding) however, it can be used for TES. You should probably ignore this anyway, and he probably was NOT a dev at the time.
    Logged

    Lost my sig due to incompetence
    August 05, 2009, 09:55:59 PM
    Seriously, totally
    Teh Uberleet
    ******
    User No : 4518
    Posts: 3123
  • 2062 credits
  • View Inventory
  • Send Money To DDunit
  • Location : In an amusement park, being unamused.
    not amused.
    • View Profile
    lol for being new at this you are pretty good :P
    Nice one stealing that avvy from Japez. Anyway;



    By the way, ne0n is now one of the best devs on eclipse; although he stays in the background.
    Logged


    Quote
    Looking for mappers messege me by here or symple add me on msn:alvaroskate20@hotmail.com
    August 05, 2009, 09:59:10 PM
    That crazy foxy aussie
    Advanced Eclipser
    *****
    User No : 9848
    Posts: 1460
  • 0 credits
  • View Inventory
  • Send Money To [God of Foxiness] Owen
  • Hi thar
    • View Profile
    Yes, Ne0n is an excellent dev.
    :D
    Now, this topic should be left alone/locked.
    Logged

    Lost my sig due to incompetence
    August 07, 2009, 09:54:29 PM
    █☻█
    Administrator
    Epic Poster
    *
    User No : 440
    Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile
    For those who want to know, there is a function now called "GetPlayerGender(Index)", that works in EE; this method will no longer work.
    Logged

    I no longer offer engine support through PMs.  If you need help, please do so by posting in the correct board, thank you.
    I also do not grant "Moderator" or "Administrator" requests; such a PM will be ignored.


    Remember that marshmallow from Ghost Busters? marsh is a Canadian version of that.

    And thus paperdoll was born! | Sub: "Destroy Game" | Evolve 4.0 -- Evolving Simulaton! | Script Index - Almost ALL of Eclipse's ScriptsOkay, if you are not open-minded, then stop reading...
    Guess what? Telekinesis, Pyrokinesis, Cryokinesis, Hydrokinesis, Electrokinesis, Psychokinesis, Telepathy, Empathy, Energy Balls, Energy Shields, Remote Viewing, and more IS POSSIBLE! If you have an open mind, and willing to TRY IT YOURSELF, then  read THIS FREE BOOK I've compiled myself!
    Hello! I am French and I have found my happiness on your software.
     


    Powered by MySQL Powered by PHP Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
    SimplePortal 2.3.1 © 2008-2009, SimplePortal
    Valid XHTML 1.0! Valid CSS!
    Page created in 0.24 seconds with 29 queries.