Jump to content

JoewAlabel

Members
  • Posts

    5
  • Joined

  • Last visited

Personal Information

  • Country
    Brazil
  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

JoewAlabel's Achievements

Feller

Feller (1/10)

0

Reputation

  1. I can using it creating one function: char* GetKeyboardInput(char* defaultText = "", int length = 64) { GAMEPLAY::DISPLAY_ONSCREEN_KEYBOARD(1, "", "", defaultText, "", "", "", length); while (GAMEPLAY::UPDATE_ONSCREEN_KEYBOARD() == 0) { scriptWait(0); } if (GAMEPLAY::UPDATE_ONSCREEN_KEYBOARD() != 1) { return ""; } return GAMEPLAY::GET_ONSCREEN_KEYBOARD_RESULT(); } And using: char* hmodel = GetKeyboardInput("", 64); I'm using AB Hook and Native Trainer source... I can't figure out how put one text to shows up above the input, like as: "Write the Ped Model".... or anything else. And the BIG problem is that I can't use ctrl + v on the input. No idea why i can't ... I pressed the key and it don't paste -.- Do u knew how fix it, please? ty!!!!
  2. It isn't working. I heard the sound of blips and after games closes (crash). Any fix, please? ty!!!!
  3. isn't working with the new update =( Just don't load any asi .... thank you!!!
  4. Alexander's ScriptHook: char* hmodel = "A_C_Horse_TennesseeWalker_Chestnut"; DWORD model = GAMEPLAY::GET_HASH_KEY(hmodel); if (STREAMING::IS_MODEL_IN_CDIMAGE(model) && STREAMING::IS_MODEL_VALID(model)) { STREAMING::REQUEST_MODEL(model, FALSE); while (!STREAMING::HAS_MODEL_LOADED(model)) WaitAndDraw(0); // WAIT(0); Vector3 coords = ENTITY::GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(PLAYER::PLAYER_PED_ID(), 0.0, 3.0, -0.3); Ped ped = PED::CREATE_PED(model, coords.x, coords.y, coords.z, static_cast<float>(rand() % 360), 0, 0, 0, 0); PED::SET_PED_VISIBLE(ped, TRUE); ENTITY::SET_PED_AS_NO_LONGER_NEEDED(&ped); STREAMING::SET_MODEL_AS_NO_LONGER_NEEDED(model); } @LMS how use DISPLAY_ONSCREEN_KEYBOARD and GET_ONSCREEN_KEYBOARD_RESULT to set the char* hmodel, please? I can't find a way to make it work. Ty!!!!
×
×
  • Create New...