Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    124

    [help] enemy X Y Z

    i need to make a for loop to get the enemy XYZ, but i dont know how to? i need a code that i can use to loop through the players and read their x, y, and z positions.
    Last edited by kibbles18; 04-06-2011 at 06:43 PM.

  2. #2
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    4,922
    My Mood
    Cool
    Quote Originally Posted by kibbles18 View Post
    i need to make a for loop to get the enemy XYZ, but i dont know how to? i need a code that i can use to loop through 24 players and read their x, y, and z positions.
    Get player by index,

    for(int i=0; i<24;i++)
    Player = GetPlayerByIndex(BLAAAA);
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  3. The Following 2 Users Say Thank You to topblast For This Useful Post:

    kibbles18 (04-06-2011),LionelMessi10 (04-06-2011)

  4. #3
    LionelMessi10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,125
    Reputation
    114
    Thanks
    4,545
    My Mood
    Aggressive

  5. #4
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    4,922
    My Mood
    Cool
    Quote Originally Posted by Alessandro10 View Post
    what a link to the search bar-.-
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  6. #5
    LionelMessi10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,125
    Reputation
    114
    Thanks
    4,545
    My Mood
    Aggressive
    Quote Originally Posted by topblast View Post


    what a link to the search bar-.-
    //Troll Mod ON


  7. #6
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,014
    Reputation
    58
    Thanks
    224
    oh nno not a troll thread please i want this stuff too..

  8. #7
    S0aD's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    2,250
    Reputation
    5
    Thanks
    589
    Troll+Troll+Troll +Troll +Troll = Super TeleKill

  9. #8
    _Fk127_'s Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    724
    Reputation
    16
    Thanks
    208
    My Mood
    Bitchy
    Dude.... this had been released like... 200 times?



    Put this image in your signature if you support HTML5 development!

  10. #9
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    How can you loop through 24 players if the max in one game is 15 (not including you)

  11. #10
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,014
    Reputation
    58
    Thanks
    224
    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)
    exactly what i was thinking

  12. #11
    LionelMessi10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,125
    Reputation
    114
    Thanks
    4,545
    My Mood
    Aggressive
    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)
    Casper the Friendly Ghost Play too in all rounds..
    Last edited by LionelMessi10; 04-06-2011 at 03:00 PM.

  13. #12
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,014
    Reputation
    58
    Thanks
    224
    Quote Originally Posted by Alessandro10 View Post
    Casper the Friendly Ghost Play too in all rounds..
    woooooow lol XD

  14. #13
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    4,922
    My Mood
    Cool
    //Troll Mod OFF NOW
    PTC("Troll 0");
    Troll = false;
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  15. #14
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,014
    Reputation
    58
    Thanks
    224
    Quote Originally Posted by topblast View Post
    //Troll Mod OFF NOW
    PTC("Troll 0");
    Troll = false;
    thank god.

  16. #15
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    124
    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/

Page 1 of 2 12 LastLast