Results 1 to 3 of 3
  1. #1
    chenlun's Avatar
    Join Date
    May 2017
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Weapon traversal help

    How do you determine the current weapons and C4 positions of the characters?

  2. #2
    ImSavage's Avatar
    Join Date
    Jul 2016
    Gender
    male
    Location
    A basement
    Posts
    122
    Reputation
    10
    Thanks
    8
    My Mood
    Cold
    W...what..? Do you mean to find where they're placed on the map/world? If yes, then just scan entities since weapons count as entities.

    - - - Updated - - -

    Else, I cannot understand what you mean...
    Yeah I can use ++... notepad++ ;--;

  3. #3
    _ECX's Avatar
    Join Date
    Jun 2017
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    0
    Use the IClientEntityList function GetMaxEntities to loop through every single entity.
    Each entity has a class ID, there are functions for this also if you have set up your classes well.

    If you are external then there are other ways to retrieve the class id's which can be found through a simple search.

    If the class ID represents the C4 then you can get the origin just like a normal player.
    Sometimes this can be different but you can dump netvars to see if they are different for certain entities

Similar Threads

  1. [Help Request] [Weapon codes] Help
    By boykinz in forum Blackshot Help
    Replies: 0
    Last Post: 11-13-2014, 11:37 PM
  2. [Help Request] Need trusted friend to add weapon - please help
    By SzaQal in forum Alliance of Valiant Arms (AVA) Help
    Replies: 10
    Last Post: 07-11-2012, 02:53 PM
  3. [Help Request] Weapon skin help?
    By fatpiehomo in forum Combat Arms Mod Help
    Replies: 0
    Last Post: 02-05-2012, 12:24 PM
  4. Weapon hack Help!
    By kubmin in forum WarRock - International Hacks
    Replies: 1
    Last Post: 04-24-2007, 09:05 AM
  5. weapon hack help!
    By shadowsecret in forum WarRock - International Hacks
    Replies: 2
    Last Post: 04-06-2007, 01:25 AM