Remove this code for my game

Results 1 to 2 of 2
  1. #1
    Member Br3n0k is offline
    MemberRank
    Jan 2010 Join Date
    BrazilLocation
    32Posts

    Remove this code for my game

    how do I remove these codes?


  2. #2
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: Remove this code for my game

    #ifndef FINAL_BUILD
    // draw player CustomerID/gamertag for admins
    if(!NetworkLocal && gUserProfile.ProfileData.isDevAccount && Keyboard->IsPressed(kbsLeftAlt))
    {
    float dist = (gCam - GetPosition()).Length();
    int a = int(R3D_MAX(1.0f - (dist / 300.0f), 0.1f)*255.0f);
    r3dPoint3D scrCoord;
    if(r3dProjectToScreen(GetPosition() + r3dPoint3D(0, 1.8f, 0), &scrCoord))
    {
    char plrUserName[64]; GetUserName(plrUserName);
    Font_Editor->PrintF(scrCoord.x, scrCoord.y+12, r3dColor(255,255,255,a), "ID:%d", CustomerID);
    Font_Editor->PrintF(scrCoord.x, scrCoord.y, r3dColor(255,255,255,a), "%s", plrUserName);
    }
    }
    #endif



Advertisement