Результаты поиска

  1. U

    Vehicles ESP Crash

    Thank you very much! :) //It's crash instantly. :( @Dark_Knight It's crash at this position: car = Vehicle->pSAMP_Vehicle[i]->pGTA_Vehicle; My try: if (VehicleESP == true) { CVector Pos; CVector2D Pos2D; stVehiclePool *Vehicle =...
  2. U

    Vehicles ESP Crash

    I want to get the position of a car. float vPos[3]; SF->getCLEO()->SetLocalVar(1, (float)i); SF->getCLEO()->SetLocalVar(2, vPos[0]); SF->getCLEO()->SetLocalVar(3, vPos[1]); SF->getCLEO()->SetLocalVar(4, vPos[2])...
  3. U

    Vehicles ESP Crash

    Hello, why my samp crash (on spawn) when I try this?: bool CALLBACK Present(CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion) { if (SUCCEEDED(SF->getRender()->BeginRender())) { int vehicles =...
  4. U

    Избранное ASI SAMPFUNCS

    With windows 10 I get an instant crash... //Fixed.
  5. U

    Избранное ASI SAMPFUNCS

    for (int i = 0; i < 1000; i++) { if (SF->getSAMP()->getPlayers()->pRemotePlayer == NULL) continue; stRemotePlayer *pPlayer = SF->getSAMP()->getPlayers()->pRemotePlayer[i]; if (pPlayer == NULL ||...
  6. U

    Избранное ASI SAMPFUNCS

    It's not work with Windows 10? :/
  7. U

    [SF API] Draw

    My problem is: I draw a box (my "coordinates") SF->getRender()->DrawBorderedBox(1300, 700, 600, 300, D3DCOLOR_ARGB(255, 0, 0, 0), 3, D3DCOLOR_ARGB(50, 255, 255, 255)); But... how can convert for every screen resolution? @SR_team @Dark_Knight /edit: My solution.. (not the best :D ) int...
  8. U

    [SF API] Draw

    What the game coordinates?
  9. U

    [SF API] Draw

    Hello, how can I fix the resolution problem? Code: pFont->Print("Hello, this is a test!", D3DCOLOR_ARGB(255, 255, 255, 0), 500, 500, false); Screenshots: 1024x768: 1920x1080:
  10. U

    Другое SAMPFUNCS | API C++

    More functions coming like this: 0B82: dialog 1@ add_button id 2@ text 3@ pos_XY 4@ 5@ size 6@ 7@ 0B83: dialog 1@ add_checkbox id 2@ text 3@ pos_XY 4@ 5@ size 6@ 7@ 0B88: dialog 1@ add_editbox id 2@ text 3@ pos_XY 4@ 5@ size 6@ 7@ ... ?
  11. U

    Другое SAMPFUNCS | API C++

    How can I get the playerid from name?
  12. U

    Другое SAMPFUNCS | API C++

    log is my own function. :) Thanks @urShadow.
  13. U

    Другое SAMPFUNCS | API C++

    Hello, what is wrong? if (params->packetId == ScriptRPCEnumeration::RPC_ScrSetPlayerHealth) { short int sPlayerID; float health; char buf[256]; params->bitStream->Read(sPlayerID); params->bitStream->Read(health); params->bitStream->ResetReadPointer(); sprintf(buf, "%s...
  14. U

    Вопросы по CLEO-скриптингу

    Okay, but the camera is wrong. When I sit in a vehicle and create a car, then is the camera at the old car.
  15. U

    Вопросы по CLEO-скриптингу

    Hello, I created a car and how can I put me in? 04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0 4@ = Car.Create(#HYDRA, 1@, 2@, 3@)
  16. U

    Problem with Dialog

    Need help!
  17. U

    Anttweakbar

    what end? I need the sobeit 0.3c source with anttweakbar... please. /edit: found
  18. U

    Anttweakbar

    I mean S0beit 0.3c source with anttweakbar. :)
  19. U

    Anttweakbar

    Can you send me the link please?
  20. U

    Problem with Dialog

    how can I close another dialog? SF->getSAMP()->getDialog()->Close(0); if (listboxItem == 0) { SF->getSAMP()->getDialog()->Close(0); SF->getSAMP()->getDialog()->ShowDialog(601, 2, "lolll!", "SA-MP Patches\nGTA Patches\nRaknet\nCredits", "Next"...