1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

Get the character ID of a target.

Discussion in 'Development' started by Vex, Mar 26, 2016.

  1. Vex

    Vex

    Does anyone know the hook to get the character ID for a targeted player?
     
  2. vexus

    vexus ej rockwell's worst nightmare Staff Member Manager Legend Clockwork Customer

    what do you mean by character ID? like CID?

    if so, you might be able to use the getcharacterdata function

    Code:
    player:GetCharacterData("citizenid", "")
     
  3. Vex

    Vex

    No the actual ID of the character, the the one that's used to point to it in the database.
     
  4. duck

    duck Phant0m Legend

    You know, you can just search the files for this sort of stuff.
     
    • Agree Agree x 1
  5. Viz

    Viz Legend Clockwork Customer

    Clockwork.player:GetCharacterID(target)
    I think you're looking for this, not sure though.
     
  6. Vex

    Vex

    I know and i'm well aware. It's just one of those times when I couldn't find something when it was staring me in the face. All coders have those moments.
     
    • Agree Agree x 1

Previous Readers (Total: 0)