Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    C++ Error


    eslkingggx3
     Share

    Recommended Posts

    Hi,

     

    I get this error: warning C4244: '=' : conversion from 'float' to 'int', possible loss of data; I get the error at the red lines.

    What do it exactly mean?

     

    Script:

     

     

    if(CH_teleport == 1)

    {

    DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;

    if(dwPlayerPtr != 0)

    {

    float PositionY = 0.0; float PositionX = 0.0;float PositionZ = 0.0;

    PositionX = *(float*)(dwPlayerPtr + OFS_X);

    PositionY = *(float*)(dwPlayerPtr + OFS_Y);

    PositionZ = *(float*)(dwPlayerPtr + OFS_Z);

    if(GetAsyncKeyState(VK_NUMPAD1)&1){

    Telx = PositionX;

    Tely = PositionY;

    Telz = PositionZ;}

    if(GetAsyncKeyState(VK_NUMPAD2)&1){

    *(float*)(dwPlayerPtr + OFS_X) = Telx;

    *(float*)(dwPlayerPtr + OFS_Y) = Tely;

    *(float*)(dwPlayerPtr + OFS_Z) = Telz;

    }

    }

    }

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...