Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,843
    Reputation
    425
    Thanks
    8,616
    Quote Originally Posted by kibbles18 View Post
    oh lol well i thought it was 24 because when i looked through gellins vip base he used and array called Players[25], and looped through those/
    An array with a subscript of 25 would hold 26 elements, not 24.

  2. #17
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,008
    Reputation
    58
    Thanks
    224
    Quote Originally Posted by ᴺᴼᴼᴮ View Post


    An array with a subscript of 25 would hold 26 elements, not 24.
    phail XD

  3. #18
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    127
    https://www.mpgh.net/forum/207-combat...06-my-esp.html this was the closest i could find to using getplayerbyindex.
    so only thing i dont understand is what is the address for "ulThis"? what is its common name?

  4. #19
    SNal2F's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    175
    Reputation
    30
    Thanks
    99
    Quote Originally Posted by Crash View Post
    How can you loop through 24 players if the max in one game is 15 (not including you)
    its always best to do what the game does.....I ran into this in bf2 then someone put up a 128 man server :O

    tho correct doubt this will happen in Combat arms lol



    Quote Originally Posted by kibbles18 View Post
    https://www.mpgh.net/forum/207-combat...06-my-esp.html this was the closest i could find to using getplayerbyindex.
    so only thing i dont understand is what is the address for "ulThis"? what is its common name?

    ulthis = clientInfoMgr pointer

    this = this pointer

    mov [this],ecx

    it was a port over from of my cf code / laziness
    Last edited by SNal2F; 04-07-2011 at 06:24 PM.

  5. #20
    S0aD's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    2,247
    Reputation
    5
    Thanks
    590
    I have this problem...
    but, nobody help

  6. #21
    Alessandro10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,140
    Reputation
    215
    Thanks
    4,607
    My Mood
    Busy
    Code:
    for ( int i = 0; i < 16; i++ )
    
    pPlayer != 0 && pLocal != 0 && pLocal->obj != 0 && pPlayer->obj != 0 && pPlayer->IsDead == 0
    I use 16
    Last edited by Alessandro10; 04-11-2011 at 04:52 PM.

  7. #22
    S0aD's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    2,247
    Reputation
    5
    Thanks
    590
    Need WorldToScreen?

  8. #23
    SNal2F's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    175
    Reputation
    30
    Thanks
    99
    Quote Originally Posted by S0aD View Post
    Need WorldToScreen?
    https://www.mpgh.net/forum/207-combat...ml#post2968685

  9. #24
    FullStatic's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Minecraft Section
    Posts
    935
    Reputation
    -41
    Thanks
    55
    My Mood
    Aggressive
    Quote Originally Posted by topblast View Post


    Get player by index,

    for(int i=0; i<24;i++)
    Player = GetPlayerByIndex(BLAAAA);
    Your still here helping? O: yay

Page 2 of 2 FirstFirst 12