- //static BOOL GET_PED_LAST_WEAPON_IMPACT_COORD(Ped ped, Vector3* coords) { return invoke<BOOL>(0x9B266079, ped, coords); } // 0x9B266079
-
-
- static BOOL(*GET_PED_LAST_WEAPON_IMPACT_COORD)(Ped ped, int coordsfreeMem) = (BOOL(*)(Ped, int))&__GET_PED_LAST_WEAPON_IMPACT_COORD_t;
-
- static BOOL GET_PED_LAST_WEAPON_IMPACT_COORD_MODIFYED(Ped ped, float coords[4]) {
- Vector3 in;
- ResetArgs();
- PushArg(ped);
- PushArg(&in);
- CallHash(0x9B266079, NativeArg);
- return GetResult<BOOL>();
- std::copy(GetDataResult<float*>(0), GetDataResult<float*>(0) + 4, coords);
- } // 0x9B266079
-
- template <typename R>
- R GetDataResult(uint8_t index)
- {
- R* Result;
- Result = (R*)NativeArg + 0x10 * (index + 4); //0x10030000
- return *(R*)Result;
- }
-
- static BOOL GET_PED_LAST_WEAPON_IMPACT_COORD_MODIFYED(Ped ped, Vector3 &coords) {
- float tmp[100]; ResetArgs(); PushArg(ped); PushArg(0x10030000);
- for (int i = 0; i < 3; i++)
- tmp[i] = *(float*)(0x10030000 + (i * 0x04));
- Vector3 vOut = FloatToVector(tmp[0], tmp[1], tmp[2]);
- coords = vOut;
- CallHash(0x9B266079, NativeArg);
- return GetResult<BOOL>();
-
- } // 0x9B266079
-
- static BOOL(*GET_PED_LAST_WEAPON_IMPACT_COORD)(Ped ped, int coordsfreeMem) = (BOOL(*)(Ped, int))&__GET_PED_LAST_WEAPON_IMPACT_COORD_t;
-
-
- int hitsomething = 0, entityHandle = 0; Vector3 endCoords, surfaceNormal;
- int getRaycastHandle(int type)
- {
- /*Vector3 camrot = GET_GAMEPLAY_CAM_ROT(2);
- Vector3 campos = GET_GAMEPLAY_CAM_COORD();
- Vector3 selfvec = GET_ENTITY_FORWARD_VECTOR(PLAYER_PED_ID());
- Vector3 multiplied = { RotationToDirection(camrot).x * 1000.0f, RotationToDirection(camrot).y * 1000.0f, RotationToDirection(camrot).z * 1000.0f };
- int ray = _CAST_RAY_POINT_TO_POINT(campos.x + selfvec.x, campos.y + selfvec.y, campos.z + selfvec.z, campos.x + multiplied.x * 5000, campos.y + multiplied.y * 5000, campos.z + multiplied.z * 5000, type, 0, 7);
- return ray;*/
- Vector3 camPos = GET_GAMEPLAY_CAM_COORD();
- Vector3 camRot = GET_GAMEPLAY_CAM_ROT(2);
- float retz = camRot.z * 0.0174532924F;
- float retx = camRot.x * 0.0174532924F;
- float absx = ABSF(COS(retx));
- Vector3 camStuff = { SIN(retz) * absx * -1, COS(retz) * absx, SIN(retx) };
- return _CAST_RAY_POINT_TO_POINT(camPos.x, camPos.y, camPos.z, camPos.x + camStuff.x * 1000, camPos.y + camStuff.y * 1000, camPos.z + camStuff.z * 1000, type, 0, 7);
- }
-
- unsigned int *getGlobalPtr(int globalId)
- {
- unsigned int **arr = (unsigned int **)(0x1E70370);
- return &arr[(globalId >> 18) & 0x3F][globalId & 0x3FFFF];
-
- //return (unsigned int *)(*(DWORD *)(0x000000 + 8i64 * ((globalId >> 18) & 0x3F) + moduleHandle) //reversed
- // + 8i64 * (globalId & 0x3FFFF));
- }
-
-
- //SetGlobal(1325955, 1662, 1337);
-
- *getGlobalPtr(OFF_THE_RADAR_TIME) = 1337; //DEADC0DE time
-
- //262145 wanted lvl
- //SetGlobal(2394218, 55, GET_NETWORK_TIME());
-
- //SetGlobal(2387908, 169, 1);
- //SetGlobal(2387908 + 223, 169, 1);
- //SetGlobal(2387908[PLAYER_ID() * 223], 169, 1);
-
- //SetGlobal(2390201, 171, 1);
- //SetGlobal(2390201 + 223, 171, 1);
- //SetGlobal2390201[PLAYER_ID() * 223], 171, 1);
-
- /*SetGlobal(2387908, 169, 1);
-
- SetGlobal(2390201, 171, 1);
-
- SetGlobal(2387908 + 223, 169, 1);
-
- SetGlobal(2387908 + PLAYER_ID() * 223, 169, 1);
-
- SetGlobal(2387908 + PLAYER_ID() + 223, 169, 1);
-
- SetGlobal(2387908 + PLAYER_ID(), 169, 1);*/
-
-
- void btnOffRadar_Click(object sender, EventArgs e)
- {
- if (ScriptGlobals.Read(2390201 + (uint)(NativeFuncs.player_id() * 223) + 170) == 0)
- {
- ScriptGlobals.Write(2390201 + (uint)(NativeFuncs.player_id() * 223) + 170, 1);
- ScriptGlobals.Write(2394218 + 55, 2147483647);
- }
- else
- ScriptGlobals.Write(2390201 + (uint)(NativeFuncs.player_id() * 223) + 170, 0);
- }
-
-
- if (featureTest)
- {
- Vector3 closestcoords = GET_ENTITY_COORDS(PLAYER_PED_ID(), FALSE);
- getNearEntities(PLAYER_PED_ID(), 1, 1, 7, 2, NULL);
-
- for (int i = 0; 0 < sizeof(); i++)
- {
- }
- EntitiesNearBy[i] = GET_ENTITY_ATTACHED_TO(PLAYER_PED_ID());
- EntitiesNearBy[i] = GET_CLOSEST_VEHICLE(closestcoords.x, closestcoords.y, closestcoords.z, 10.0f, 0, CARS_N_MOTOCYCLES_2);
- EntitiesNearBy[i] = GET_RANDOM_PED_AT_COORD(closestcoords.x, closestcoords.y, closestcoords.z, 10.0f, 10.0f, 10.0, -1);
- if (DOES_ENTITY_EXIST(EntitiesNearBy[i]))
- {
- if (!NETWORK_HAS_CONTROL_OF_ENTITY(EntitiesNearBy[i]))
- NETWORK_REQUEST_CONTROL_OF_ENTITY(EntitiesNearBy[i]);
- else
- {
- DETACH_ENTITY(EntitiesNearBy[i], 1, 1);
- SET_ENTITY_AS_MISSION_ENTITY(EntitiesNearBy[i], 1, 1);
- DELETE_ENTITY(&EntitiesNearBy[i]);
- }
- }
-
-
-
- int funcaddr = 0x139ECB0;//0x13321EC;
- ((void(*)(int, unsigned int, int, int, int, int, int, int, int))&funcaddr)(0x40022280, 0x1004004C, 1, 0, 0, 0, 0x540, 0x4ec, 0x59);
-
-
- GetClosestVehicle
- __int64 __fastcall sub_4549C8(__int64 a1, float a2, unsigned int a3, unsigned int a4)
- {
- signed int v4; // ebx@1
- unsigned int v5; // er14@1
- __int64 v6; // rdi@1
- signed int v7; // ebp@1
- float v8; // xmm6_4@1
- int v9; // eax@2
- unsigned int v10; // xmm1_4@3
- unsigned int v11; // xmm2_4@3
- float v12; // xmm6_4@3
- __int64 v13; // rcx@3
- unsigned int v14; // edi@3
- __int64 v15; // r9@4
- int v16; // eax@5
- __int64 v17; // rax@6
- __int64 v18; // rsi@9
- __m128 v19; // xmm2@12
- __m128i v20; // xmm2@12
- float v21; // xmm7_4@12
- int v22; // eax@13
- int v24; // [sp+20h] [bp-58h]@2
- __m128 v25; // [sp+30h] [bp-48h]@3
- int v26; // [sp+90h] [bp+18h]@1
-
- v4 = 0;
- v5 = a4;
- v6 = a1;
- v7 = 0;
- v8 = a2;
- v26 = (v26 | 0xFFFFFFF) & 0xFFFFFFF;
- if ( !a3
- || (v24 = 0xFFFF,
- sub_14079692C(a3, &v24),
- LOWORD(v26) = v24,
- v9 = v26 | 0xFFF0000,
- _bittestandreset((unsigned int *)&v9, 0x1Cu),
- v26 = v9,
- (unsigned __int16)v9 != 0xFFFF) )
- {
- v10 = *(_DWORD *)(v6 + 8);
- v11 = *(_DWORD *)(v6 + 16);
- v12 = v8 * v8;
- v13 = *(_QWORD *)VehiclePool;
- v25.m128_i32[0] = *(_DWORD *)v6;
- *(unsigned __int64 *)((char *)&v25.m128_u64[0] + 4) = __PAIR__(v11, v10);
- v14 = *(_DWORD *)(v13 + 8);
- if ( v14 )
- {
- do
- {
- --v14;
- v15 = *(_QWORD *)VehiclePool;
- if ( (signed int)v14 < *(_DWORD *)(*(_QWORD *)VehiclePool + 8i64)
- && (v16 = *(_DWORD *)(*(_QWORD *)(v15 + 48) + 4 * ((unsigned __int64)v14 >> 5)),
- _bittest((const unsigned int *)&v16, v14 & 0x1F)) )
- v17 = *(_QWORD *)v15 + v14 * *(_QWORD *)(v15 + 24);
- else
- v17 = 0i64;
- if ( v17 )
- v18 = *(_QWORD *)v17;
- else
- v18 = 0i64;
- if ( v18 )
- {
- v19 = _mm_sub_ps(*(__m128 *)(v18 + 144), v25);
- v20 = (__m128i)_mm_mul_ps(v19, v19);
- LODWORD(v21) = (unsigned __int128)_mm_add_ps(
- _mm_add_ps(
- (__m128)_mm_shuffle_epi32(v20, 0),
- (__m128)_mm_shuffle_epi32(v20, 85)),
- (__m128)_mm_shuffle_epi32(v20, -86));
- if ( v21 < v12 )
- {
- v22 = sub_140796DD8(&v26);
- if ( (unsigned __int8)sub_13FF39C34(v18, (unsigned int)v22, v5) )
- {
- v7 = sub_13FC7F104(v18);
- v12 = v21;
- }
- }
- }
- }
- while ( v14 );
- if ( v7 )
- sub_13FC728D0(v7);
- }
- v4 = v7;
- }
- return (unsigned int)v4;
- }
- __int64 __fastcall get_entity_type(int a1)
- {
- __int64 result; // rax@1
- signed int v2; // ecx@1
- char v3;
-
- result = GetAddressOfEntity(a1);
- v2 = 0;
- if (result)
- {
- v3 = *(_BYTE *)(result + 40);
- if (v3 == 4)
- {
- result = 1i64;
- }
- else if (v3 == 3)
- {
- result = 2i64;
- }
- else
- {
- if (v3 == 5)
- v2 = 3;
- result = (unsigned int)v2;
- }
- }
- return result;
- }
-
- char __fastcall is_model_a_vehicle(__int64 a1)
- {
- char v1; // bl@1
- __int64 v2; // rax@1
- int v4; // [sp+38h] [bp+10h]@1
-
- v1 = 0;
- v4 = 0xFFFF;
- LODWORD(v2) = sub_7FF601C276A4(a1, &v4);
- if (v2)
- {
- v1 = 0;
- if ((*(_BYTE *)(v2 + 157) & 0x1F) == 5)
- v1 = 1;
- }
- return v1;
- }
-
- int64 PLAYER_ID()
- {
- int64 v0; // rax@2
- __int64 result; // rax@2
-
- if (byte_7FF602DDAB4E)
- {
- LODWORD(v0) = sub_7FF60170275C(off_7FF602370AA0);
- result = *(_BYTE *)(v0 + 45);
- }
- else
- {
- result = 0i64;
- }
- return result;
- }
-
-
-
-
-
- template<typename T>
- T Invoke(unsigned int a_uiNativeHash, unsigned int a_uiArgCount, ...)
- {
- T* Result;
-
- va_list l_VaList;
- unsigned int l_uiIndex;
- unsigned int l_uiReadCount = 0;
-
- va_start(l_VaList, a_uiArgCount);
- for (l_uiIndex = 0; l_uiIndex < 16; l_uiIndex++)
- {
- if (l_uiIndex < a_uiArgCount)
- g_pArgs[l_uiIndex] = va_arg(l_VaList, unsigned int);
- else
- g_pArgs[l_uiIndex] = 0;
- }
- va_end(l_VaList);
-
- //DbgPrint("Calling: 0x%08X\n", a_uiNativeHash);
-
- if (a_uiNativeHash != PLAYER_ID_HASH)
- ((void(*)(struct NativeArg*))GetNativeFunction(a_uiNativeHash))(&g_NativeArg);
- else
- Original_Player_ID(&g_NativeArg);
-
- Result = (T*)&g_pArgs[l_uiReadCount];
-
- l_uiReadCount += sizeof(T);
- if ((sizeof(T) % 4) != 0)
- l_uiReadCount += 4 - (sizeof(T) % 4);
-
- return *(T*)Result;
- }
-
- void draw_menu(int a_iPosition, int a_iMenuItemCount, char ** a_pcMenu, char* a_pcTitle)
- {
- GRAPHICS::DRAW_RECT(0.90f, 0.2f, 0.15f, 0.05f, 0xFF, 0, 0, 0x90);
-
- GRAPHICS::DRAW_RECT(0.90f, 0.225f + ((0.035f* (a_iMenuItemCount > 16 ? 16 : a_iMenuItemCount))/2), 0.15f, 0.035f* (a_iMenuItemCount > 16 ? 16 : a_iMenuItemCount), 0xFF, 0, 0, 0x30);
- //GRAPHICS::DRAW_RECT(0.90f, 0.50f, 0.15f, 0.55f, 0xFF, 0, 0, 0x30);
- PrintToScreen(a_pcTitle, 0.90f, 0.18f, 255, 255, 255, 255, 0.8f, 0.8f, 1, 1);
-
- if (a_iMenuItemCount < 16)
- {
- GRAPHICS::DRAW_RECT(0.90f, 0.2425f + (float).035f*(a_iPosition), 0.15f, 0.035f, 0xFF, 0, 0, 0x80);
- for (int l_iIndex = 0; l_iIndex < a_iMenuItemCount; l_iIndex++)
- {
- PrintToScreen(a_pcMenu[l_iIndex], 0.90f, (0.2225f + (l_iIndex * .035f)), 255, 255, 255, 255, 0.4f, 0.4f, 1, 0);
- }
- }
- else
- {
- if (a_iPosition < 7)
- {
- GRAPHICS::DRAW_RECT(0.90f, 0.2425f + (float).035f*(a_iPosition), 0.15f, 0.035f, 0xFF, 0, 0, 0x80);
- for (int l_iIndex = 0; l_iIndex < 16; l_iIndex++)
- {
- PrintToScreen(a_pcMenu[l_iIndex], 0.90f, (0.2225f + (l_iIndex * .035f)), 255, 255, 255, 255, 0.4f, 0.4f, 1, 0);
- }
- }
- else
- {
- if (a_iPosition < a_iMenuItemCount - 8)
- {
- GRAPHICS::DRAW_RECT(0.90f, 0.2425f + (float).035f*(7), 0.15f, 0.035f, 0xFF, 0, 0, 0x80);
- int l_iDrawIndex = 0;
- for (int l_iIndex = a_iPosition - 7; l_iIndex < a_iPosition + 9; l_iIndex++)
- {
- PrintToScreen(a_pcMenu[l_iIndex], 0.90f, (0.2225f + (l_iDrawIndex* .035f)), 255, 255, 255, 255, 0.4f, 0.4f, 1, 0);
- l_iDrawIndex++;
- }
- }
- else
- {
- GRAPHICS::DRAW_RECT(0.90f, 0.2425f + (float).035f*(16 - (a_iMenuItemCount - a_iPosition)), 0.15f, 0.035f, 0xFF, 0, 0, 0x80);
- int l_iDrawIndex = 0;
- for (int l_iIndex = a_iMenuItemCount - 16; l_iIndex < a_iMenuItemCount; l_iIndex++)
- {
- PrintToScreen(a_pcMenu[l_iIndex], 0.90f, (0.2225f + (l_iDrawIndex* .035f)), 255, 255, 255, 255, 0.4f, 0.4f, 1, 0);
- l_iDrawIndex++;
- }
- }
- }
- }
- }
-
- void PrintToScreen(char *str, float x, float y, int r, int g, int b, int a, float scaleX, float scaleY, int centerText, int font)
- {
- UI::SET_TEXT_FONT(font);
- UI::SET_TEXT_COLOUR(r, g, b, a);
- UI::SET_TEXT_SCALE(scaleX, scaleY);
- UI::SET_TEXT_OUTLINE();
- UI::SET_TEXT_CENTRE(centerText);
- UI::_SET_TEXT_ENTRY("STRING");
- UI::_ADD_TEXT_COMPONENT_STRING(str);
- UI::_DRAW_TEXT(x, y);
- }
-
- void HeistHUD(char* text)
- {
-
- }
- void InfoMessage(char* text)
- {
-
- }
-
- void MPMESSAGE(char* msg, char* desc)
- {
- featureBigMPMessge = true;
- BigMPMessagemgs = msg;
- BigMPMessagedesc = desc;
- PLAY_SOUND_FRONTEND(-1, "RACE_PLACED", "HUD_AWARDS");
- }
-
- if (featureBigMPMessge)
- {
- if (!HAS_SCALEFORM_MOVIE_LOADED(SFBigMPMessage))
- SFBigMPMessage = REQUEST_SCALEFORM_MOVIE("MP_BIG_MESSAGE_FREEMODE");
- else
- {
- if (GET_GAME_TIMER() > featureTimeMPMessage) {
- featureTimeMPMessage = GET_GAME_TIMER() + 20;
- _PUSH_SCALEFORM_MOVIE_FUNCTION(SFBigMPMessage, "SHOW_SHARD_CREW_RANKUP_MP_MESSAGE"); //SHOW_SHARD_CENTERED_TOP_MP_MESSAGE
- set_text_component(BigMPMessagemgs);
- set_text_component(BigMPMessagedesc);
- _POP_SCALEFORM_MOVIE_FUNCTION_VOID();
- DRAW_SCALEFORM_MOVIE_FULLSCREEN(SFBigMPMessage, 255, 255, 255, 255);
- if (_BigMPMessagetime == 40) {
- _PUSH_SCALEFORM_MOVIE_FUNCTION(SFBigMPMessage, "TRANSITION_UP");
- _POP_SCALEFORM_MOVIE_FUNCTION_VOID();
- SET_SCALEFORM_MOVIE_AS_NO_LONGER_NEEDED(&SFBigMPMessage);
- featureBigMPMessge = false;
- _BigMPMessagetime = 0;
- }
- else
- _BigMPMessagetime++;
- }
- }
- }
-
- case 5: MPMESSAGE("ROULETTE", "coding like a rockstar"); break;
-
-
-
- bool _scaleformFadeTimerEnabled = 0;
- int SFBMPM;
- DWORD _scaleformFadeTimerWaiter = 0;
- if (_scaleformFadeTimerEnabled)
- {
- if (!HAS_SCALEFORM_MOVIE_LOADED(SFBMPM))
- SFBMPM = REQUEST_SCALEFORM_MOVIE("MP_BIG_MESSAGE_FREEMODE");
- else
- {
-
- _scaleformFadeTimerWaiter = GET_GAME_TIMER() + 2000;
- _PUSH_SCALEFORM_MOVIE_FUNCTION(SFBMPM, "SHOW_SHARD_CREW_RANKUP_MP_MESSAGE" /*titleStr, msgStr, rankNumber, emblemTXD, emblemTXN, alpha*/); //SHOW_SHARD_CENTERED_TOP_MP_MESSAGE
- _BEGIN_TEXT_COMPONENT("STRING");
- ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME("TheRouletteBoi");
- _END_TEXT_COMPONENT();
- _BEGIN_TEXT_COMPONENT("STRING");
- ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME("ROULETTE");
- _END_TEXT_COMPONENT();
- _POP_SCALEFORM_MOVIE_FUNCTION_VOID();
- DRAW_SCALEFORM_MOVIE_FULLSCREEN(SFBMPM, 255, 255, 255, 255);
- if (GET_GAME_TIMER() > _scaleformFadeTimerWaiter)
- {
- _PUSH_SCALEFORM_MOVIE_FUNCTION(SFBMPM, "TRANSITION_UP");
- _PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_INT(0.2000000/*duration*/);
- _POP_SCALEFORM_MOVIE_FUNCTION_VOID();
- SET_SCALEFORM_MOVIE_AS_NO_LONGER_NEEDED(&SFBMPM);
- _scaleformFadeTimerEnabled = false;
- }
- }
- }
-
-
-
- case 11: SET_WARNING_MESSAGE("Panic Mode is enabled.", 3, "Press square and triange to disable Panic Mode.", false, -1, 0, 0, true);
- //Panic Mode is enabled.
- //While this is enabled, most malicous action taken against you by a malicious cheater, such as object attachment and cash attempts, will fail to execute. Please note: this does not prevent a malicous cheater from framing you. For security reasons, you wil not be able to move, visually witness any activity, or utilize the Pause Menu while this mode is active.
- //Press square and triange to disable Panic Mode.
- //http://steamcommunity.com/id/clarexobearrx3/screenshots/
- break;
-
-
- Vector3 rot_to_direction(Vector3* rot)
- {
- float radiansZ = rot->z * 0.0174532924f;
- float radiansX = rot->x * 0.0174532924f;
- float num = ABSF((float)COS((double)radiansX));
- Vector3 dir;
- dir.x = (float)((double)((float)(-(float)SIN((double)radiansZ))) * (double)num);
- dir.y = (float)((double)((float)COS((double)radiansZ)) * (double)num);
- dir.z = (float)SIN((double)radiansX);
- return dir;
- }
-
- Vector3 add(Vector3* vectorA, Vector3* vectorB)
- {
- Vector3 result;
- result.x = vectorA->x;
- result.y = vectorA->y;
- result.z = vectorA->z;
-
- result.x += vectorB->x;
- result.y += vectorB->y;
- result.z += vectorB->z;
-
- return result;
- }
- Vector3 multiply(Vector3* vector, float x)
- {
- Vector3 result;
- result.x = vector->x;
- result.y = vector->y;
- result.z = vector->z;
-
- result.x *= x;
- result.y *= x;
- result.z *= x;
-
- return result;
- }
- float get_distance(Vector3* pointA, Vector3* pointB)
- {
- float a_x = pointA->x;
- float a_y = pointA->y;
- float a_z = pointA->z;
-
- float b_x = pointB->x;
- float b_y = pointB->y;
- float b_z = pointB->z;
-
- double x_ba = (double)(b_x - a_x);
- double y_ba = (double)(b_y - a_y);
- double z_ba = (double)(b_z - a_z);
-
- double y_2 = y_ba * y_ba;
- double x_2 = x_ba * x_ba;
- double sum_2 = y_2 + x_2;
-
- return (float)sqrt(sum_2 + z_ba);
- }
-
- float get_vector_length(Vector3* vector)
- {
- double x = (double)vector->x;
- double y = (double)vector->y;
- double z = (double)vector->z;
-
- return (float)sqrt(x * x + y * y + z * z);
- }
-
-
-
-
- void UpdateBusySpinner()
- {
- /*func_83(P);
- if (_0xF6015178("SHOW_WARNING_MESSAGE"))
- {
- _PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_BOOL(uParam0);
- _PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_INT(uParam1);
- _PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_INT(uParam2);
-
- _BEGIN_TEXT_COMPONENT("STRING");
- ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME("Loading, Please wait.");
- _END_TEXT_COMPONENT();
-
-
- _BEGIN_TEXT_COMPONENT("STRING");
- ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME("LOADING DONE!");
- _END_TEXT_COMPONENT();
-
-
- _PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_INT(uParam5);
- _PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_STRING(uParam6);
- _PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_STRING(uParam7);
- _POP_SCALEFORM_MOVIE_FUNCTION_VOID();
- }*/
-
- if (!HAS_SCALEFORM_MOVIE_LOADED(SFMBS))
- SFMBS = REQUEST_SCALEFORM_MOVIE("busy_spinner");
- else
- {
- _PUSH_SCALEFORM_MOVIE_FUNCTION(SFMBS, "CLEAR_ALL");
- _POP_SCALEFORM_MOVIE_FUNCTION_VOID();
- _PUSH_SCALEFORM_MOVIE_FUNCTION(SFMBS, "SET_DATA_SLOT"); // CREATE_CONTAINER
- _PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_INT(0);
- _PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_INT(LOADING_HALF_CIRCLE_RIGHT);
- _BEGIN_TEXT_COMPONENT("STRING");
- ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME("Loading, Please wait.");
- _END_TEXT_COMPONENT();
- _POP_SCALEFORM_MOVIE_FUNCTION_VOID();
- _PUSH_SCALEFORM_MOVIE_FUNCTION(SFMBS, "DRAW_INSTRUCTIONAL_BUTTONS");
- _PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_INT(-1);
- _POP_SCALEFORM_MOVIE_FUNCTION_VOID();
- }
-
-
- /*if (!HAS_SCALEFORM_MOVIE_LOADED(SFMBS))
- SFMBS = REQUEST_SCALEFORM_MOVIE("CUSTOM_WARNING_SCREEN");
- else
- {
- //"BANNED FOR EVER."
- //"BITCH YOU'VE BEEN BANNED."
- _PUSH_SCALEFORM_MOVIE_FUNCTION(SFMBS, "SHOW_CUSTOM_WARNING_SCREEN");
- _POP_SCALEFORM_MOVIE_FUNCTION_VOID();
- }*/
-
-
- DRAW_SCALEFORM_MOVIE_FULLSCREEN(SFMBS, 255, 255, 255, 255);
- }
-
-
- /*
- WT_HEALTH //health
- PS_SPEC_AB //special
- LOB_CAT_9 //wanted levels
- FMMC_NONE; //unavailable
- FACE_HAIR; //Hair
- FACE_BRD; //Beard
- HLTH_REGEN2; //max health
- LOB_CAT_9; //wanted levels
- PIM_DHIGH0; off
- PIM_DHIGH1; //on
- MOD_MNU;
- CELL_221; //enter number
- HTX_ENTER; //enter
- CM_SPECTATE spectate player (beta)
- CM_SHOW_GAMER_CARD show profile
- CMOD_MOD_22_D increase downforce.
- cell_19 Players
- cell_18 Map
- cell_32 Qucik Save //for recovery menu
- cell_35 Player List
- CELL_MP_1001 invite to party
- CELL_MP_1005 Player
- CELL_MP_1007 View Profile
- PM_MP_OPTIONS Options
- PM_FRESES Join Friends
- PM_CRESES Join Crew Members
- PM_PLYRS Players
- PM_SWAP_CHAR Swap Character
- PM_FIND_SESS Find new Session
- UGC_FL_UNEX The Rockstar game services are unavailable right now. Please try again later.
- PM_MY_PLIST My Playlists
- PM_R_PLIST Rockstar Playlists
- PM_R_V_PLIST Rockstar Verified playlist
- PM_DLOAD_PLIST My Bookmarked Playlists
- PM_AVAIL_CHALL Challenges
- PM_MULTI x
- PM_CH_NM_AL Please choose a valid title for your Challenge.
- PM_CLMN_WRNT1 No Playlists
- PM_CREWS Crews
- PM_INF_AJ2T1 Bookmarked
- PM_INF_LEAT Leave
- PM_FIND_SESS Find New Session
- PM_INF_CHCT Choose Character
- PM_INF_PGOT Play GTA Online
- PM_INF_CRWT Crews
- PM_INF_AWDT Awards
- PM_INF_WEPT Weapons
- PM_INF_UNLT Unlocks
- PM_INF_PLLT Playlists
- PM_INF_PLLT00 R* Tournaments
- PM_INF_PLLT0 My Playlists
- PM_CLMN_WRNT5 No Challenges
- BM_INV_SENT Inviting Players
- BM_NO_INV No invites sent
- PIM_TINVE Inventory
- PIM_THELP Brief
- PIM_TOBJ Objective
- PM_INVO_FM Invite Only Session
- PM_GO Go
- PM_NCREW_FM Crew Session
- PM_CREW_FM Closed Crew Session
- PM_FRIEND_FM Closed Friend Session
- PM_SOLO_FM Solo Session
- PM_ON On
- PM_OFF Off
- PM_SHUFFLE Shuffle Playlist
- HUD_INVPROG Joining session in progress.
- R2P_MENU_TINV PLAYER LIST
- BLIP_0 Destination
- BLIP_1 Destination
- BLIP_2 Destination
- BLIP_3 Police
- BLIP_4 Objective
- BLIP_5 Objective
- BLIP_6 Player
- BLIP_7 North
- BLIP_8 Waypoint
- HUD_LOADMAIN rockstart game sercives are temportily unavailable
- HUD_KICKRES Kick from session for beeing idle too long
- HUD_KICKRES1 You were kicked from this GTA Online session by others players
- HUD_KICKRES2 you have been classed as a cheater
- //CM_JOIN_GAME Accept Game Invite
- //CM_JIP_GAME Join Game
- //CM_JIP_GAME_DIS Join Game (Disabled)
- //CM_SPECTATE Spectate Player (BETA)
- //CM_SPECTATE_DISABLED Spectate Player (Disabled by Player)
- //CM_JOIN_PARTY Join Party
- //CM_SEND_FRIEND_INVITE Send Friend Request
- //CM_SEND_CREW_INVITE Invite to
- //CM_SEND_PARTY_INVITE Send Party Invite
- //CM_KICK_PARTY Kick from Party
- //CM_SEND_GAME_INVITE Send Game Invite
- //CM_SEND_GAME_INVITE_DIS Send Game Invite (Disabled)
- //CM_KICK_DIS Kick (Disabled)
- //CM_UNKICK Unkick
- //CM_REPORT Report
- //CM_REPORT_DIS Report (Disabled)
- //CM_COMMEND Commend
- //CM_COMMEND_DIS Commend (Disabled)
- //CM_MUTE Toggle Mute
- //CM_SHOW_GAMER_CARD Show Profile
- //CM_ADD_A_FRIEND Add A Friend
- //CM_GAMER_REVIEW Player Review
- //IB_JOINCREW Join Crew
- //HUD_INPUT53 Back
- //CC_PM_OPT OPTIONS
- //CC_PM_DET DETAILS
- //PM_SCR_CCY YOU
- //CRW_MINE My Crews
- //CRW_ROCKSTAR Suggested Crews
- //CRW_FRIENDS Friends' Crews
- //CRW_INVITES Invitations
- //CRW_REQUESTS Requests
- //CRW_LEADERBOARDS Leaderboard
- //FM_COR_KICKOC You have been kicked from the Job. You are no loger on call.
- //HUD_ENDKICK You were kicked from the session.
- //HUD_ENDADMINKICK You Have been removed from this session by a Rockstar Games administrator.
- //HUD_KICKROCK The session you were spectating is being assessed by Rockstar with a view to broadcasting that as an Online TV Channel.
- //HUD_ROSBANNED You have been banned from Grand Theft Auto Online.
- //HUD_KICKCREWMSG You were kicked from your Crew. Global_1315377
- //MP_PROP_PUR_KICK2 You no longer have access tp the property as the owner has left the game.
- //MP_PROP_PUR_KICK0 You no longer have access to the property as you have traded it in.
- //MP_PROP_PUR_KICK1 You no loger have access to the property as the owner has traded it.
- //FM_COR_KICKA You have been kicked from the Activity
- //FM_COR_KICK You have been kicked from the Job.
- //PLYKICKED was voted from the game.
- //SCTV_FEED0 Show Feed
- //SCTV_FEED1 Show List
- //SCTV_HELI_OFF Online TV Heli Off
- //SCTV_HELI_ON Online TV Heli On
- //SCTV_TS_CTFG GTA - fighting for transport
- //SCTV_TS_CTFR Raid - protecting their base of operations
- //SCTV_TS_CTFC Contend - bringing it back to base
- //SCTV_TS_CTFH Hold - holding on for dear life
- //SCTV_TS_LTS2 Two Team LTS - in a two team enter one leaves situation
- //SCTV_TS_LTS3 Three Team LTS - in a three way.. battle for survival
- //SCTV_TS_LTS4 four Team LTS - unlikely to survive a four team fight
- //SCTV_T_LTS LTS
- //SCTV_T_VS versus
- //SCLB_MIS_NN Mission
- //SCTV_SSYOU has stopped spectating you.
- //SCTV_SYOU is spectating you.
- //DSV_TPLYS destroy the ~r~target vehicle.
- //PTD_TPLYSH took down the Smuggler Helicopter.
- //SCLB_PROFILE View Profile
- //SCLB_NO_ROS The Rockstar game services are unavailable right now. Please try again later.
- //SCLB_SIGN_OUT You have signed out of PlayStation Network and will be unable to view leaderboard data.
- //SCLB_NOT_ONL Sign in to Playstation Network to view leaderboards data.
- //FMMC_COR_SCLB5 Driver
- //FMMC_COR_SCLB6 Co-Driver
- //SCLB_C_RANK POSITION
- //SCLB_RCE_NN Race
- SCLB_GLOBAL GLOBAL
- SCLB_FRIENDS FRIENDS
- SCLB_CREW CREW
- SHOP_CONTENT_1 beach bum
- SHOP_CONTENT_2 business update
- SHOP_CONTENT_3 festive
- SHOP_CONTENT_4 valentine's
- SHOP_CONTENT_5 high life update
- SHOP_CONTENT_6 "im not a hipster"
- SHOP_CONTENT_6b "im not a hipster" update
- SHOP_CONTENT_7 heists
- SHOP_CONTENT_8 independence day
- SHOP_CONTENT_9 san andreas flight school
- SHOP_CONTENT_10 last team standing
- SHOP_CONTENT_12 ill-gotten gains update part 1
- SHOP_CONTENT_13 video edditor
- SHOP_CONTENT_14 ill-gotten gains update part 2
- PIM_INVAT Invite to Apartment has been send to .
- PIM_HINVAP Invite this player to your apartment.
- PIM_HINVA Invite players to your Apartment.
- PIM_INVAP Invite to Apartment.
- PIM_TINVE Inventory
- PIM_HHEIS Choose to Spectate other members of your Heist Crew.
- PIM_HHEIB Your Heist Crew cannot currently be spectated.
- PIM_HINVE Your Inventory contains carried oteams such as cash and clothing Accessories.
- PIM_HPASIY Confirm turning on Passive Mode.
- PIM_HPASIN Confrim turning off Passive Mode.
- PIM_HHLPL Make your blip flash to other players for a short time.
- PIM_HHLPR Make the selected player's blip flash to you for a short time.'
- PIM_HPGS A list of all the players in your session.
- PIM_HLJCE Cash earned from the last Job.
- PIM_HHEISP Select to spectate this player.
- PIM_TCHT Chat
- PIM_TAPV Vehicle Access.
- 0x1BA5E3C4 Rockstar wants to know what you
- 0xB9C144DB Unable to Join. The session you have tried to join is using content created by another player. An inactive profile only has permissions for Rockstar content.
- 0x41818A76 Your Sony Entertainment Network account has chat restrictions enabled, only Rockstar content will be available and voice chat is disabled.
- 0x2A199171 Cheater classification release date ~1~/~1~/~1~.
- 0x093ADE5F Rockstar Dev SCTV
- 0x0BD9B728 You have been removed from this session by a Rockstar Games administrator.
- 0x28DBEF47 Rockstar Game Services have corrected your GTA Dollars by -$~1~.
- 0xCF6AEAC0 Rockstar Games SCADMIN Version
- TICK_PH_INV joined job.
- TICK_PH_INVA joined activity.
- TICK_BC_ON has active their Broadcast app.
- TICK_BC_OFF has deactivated their Broadcast app.
- TICK_HEAD NULL
- TICK_DIED died.
- PIM_EMVTK kicked you from thier Personal Vehicle.
- TICK_BC_ON has activated thier Brodcast app.
- TICK_BC_OFF has deactivated thier Brodcast app.
- PLYVEH_INS_DES1 Your insured Personal Vehicle has been destroyed The player who destroyed it has paid $ towards the clain premium.
- PLYVEH_INS_DES has detroyed your insured Personal Vehicle They have paid $ towards the claim premium.
- TICK_PH_INV joined Job.
-
- */
-
- COMMEND_SPAM_TIMEOUT_DISABLED = 0x6133E077
- COMMEND_SPAM_TIMEOUT = 0xA76D3517
- MPPLY_LAST_COMMEND_RESTORE = 0x181F07A6
- MPPLY_LAST_COMMEND_PENALTY = 0x8CF94EB4
- MPPLY_COMMEND_STRENGTH = 0xADA7E7D3
- REPORT_SPAM_TIMEOUT_DISABLED = 0x33406312
- REPORT_SPAM_TIMEOUT = 0x332F884E
- MPPLY_LAST_REPORT_RESTORE = 0x211774A4
- MPPLY_LAST_REPORT_PENALTY = 0xB87499EA
- MPPLY_REPORT_STRENGTH = 0x850CF917
- COMMEND_TIMEOUT_DISABLED = 0x73DC7AA3
- COMMEND_TIMEOUT = 0xABE83C3B
- REPORT_TIMEOUT_DISABLED = 0x7266E8B2
- REPORT_TIMEOUT = 0xA13B434D
- CL_SEND_FRIEND_REQUEST = 0xAFEA09C6
- KICK_TIMEOUT = 0xB2111FE4
- KICK_TIMEOUT_DISABLED = 0xD892E535
- IDLEKICK_KICK = 0x949C8AAD
- ENABLE_KICK = 0xE2E1805E
- KICK_VOTES_NEEDED_RATIO = 0xEED6D618
- BADSPORT_THRESHOLD = 0x4C507C3D
- BADSPORT_THRESHOLD_NOTCHEATER = 0x727F6777
- IDLEKICK_WARNING1 = 0xB3A4D684
- IDLEKICK_WARNING2 = 0xC16F7219
- IDLEKICK_WARNING3 = 0xE009AF49
- COMMENDREPORT_MAX_STRENGTH = 0xF227F666
- MP_GLOBAL = 0x38CEB237, 953070135
- BASE_GLOBALS = 0xB5EE873, 190769267
- CONTENT_MODIFIER_ = 0xE8895D8A, 3901316490
- MP_FM_RACES = 0xC32348A0, 3273869472
- MP_FM_RACES_CAR = 0x3D76C61B, 1031194139
- MP_FM_RACES_SEA = 0xCC580A3A, 3428321850
- MP_FM_RACES_AIR = 0xF4175CBB, 4095171771
- MP_FM_BASEJUMP = 0x30C5F8C6, 818280646
- MP_FM_RACES_CYCLE = 0xEA4446C2, 3930343106
- MP_FM_RACES_BIKE = 0xC795D7FC, 3348486140
- MP_FM_MISSIONS = 0x202DE323, 539878179
- MP_FM_CONTACT = 0xBDD1A4F5, 3184633077
- MP_FM_RANDOM = 0xAD9BAC56, 2912660566
- MP_FM_VERSUS = 0x56A36BC3, 1453550531
- MP_FM_LTS = 0xFCDE7FF3, 4242440179
- MP_FM_CAPTURE = 0xF508B799, 4110989209
- MP_FM_DM = 0x7030EBCC, 1882254284
- MP_FM_SURVIVAL = 0x2217A8F1, 571975921
- MP_FM_GANG_ATTACK = 0x67F82C09, 1744317449
- MP_CNC = 0x53599429, 1398379561
- MP_CNC_TEAM_COP = 0xEE611088, 3999338632
- MP_CNC_TEAM_VAGOS = 0xBB04D34F, 3137655631
- MP_CNC_TEAM_LOST = 0x3AEFBEA0, 988790432
- MP_FM = 0x43FE68BD, 1140746429
- DISABLE_SCTV_GTAO_TV = 0xB715B652, 3071653458
- DISABLE_SCTV_FRIENDS_SPECTATE = 0x74AFE8F8, 1957685496
- DisableSpectate = 0xCAB5C6A2, 3400910498
- DisableSpectate = 0x2A5A6D1F, 710569247
- mpply_crew_0_id = 0x1838E2E9, 406381289
- mpply_crew_1_id = 0x6388AA41, 1669900865
- mpply_crew_2_id = 0x33A7D8B, 54164875
- mpply_crew_3_id = 0xCDC93A60, 3452516960
- mpply_crew_4_id = 0xA202D7E4, 2718095332
- mpply_crew_local_xp_0 = 0xA9C0CB15, 2847984405
- mpply_crew_local_xp_1 = 0x9C0D2FAE, 2618109870
- mpply_crew_local_xp_2 = 0x4C579040, 1280806976
- mpply_crew_local_xp_3 = 0xBEA1F4D7, 3198285015
- mpply_crew_local_xp_4 = 0x70E5595B, 1894078811
- mpply_became_cheater_num = 0xA2A859D5, 2728942037
- mpply_friendly = 0xDAFB10F9, 3673886969
- mpply_offensive_language = 0x3CDB43E2, 1021002722
- mpply_griefing = 0x9C6A0C42, 2624195650
- mpply_helpful = 0x893E1390, 2302546832
- mpply_offensive_ugc = 0xF3DE4879, 4091431033
- mpply_offensive_tagplate = 0xE8FB6DD5, 3908791765
- mpply_exploits = 0x9F79BA0B, 2675554827
- mpply_game_exploits = 0xCBFD04A4, 3422356644
- mpply_vc_hate = 0xE7072CD, 242250445
- mpply_vc_annoyingme = 0x62EB8C5A, 1659604058
-
-
- //badsport and some cheat stuff hashes. need to be bruteforced
- 0x6D7F0859
- 0xBC707798
- 0xC71E28C5
-
-
-
-
- //vehicle weapons code:
- Vector3 Global_1312302_8; //coords from 1
- Vector3 Global_1312302_11; //coords from 2
-
- Vector3 Global_1312302_2; //coords to 1
- Vector3 Global_1312302_5; //coords to 2
-
- Vector3 Global_1312295_2; //spike coords
- int Global_1312295_5; //spike pickup
-
- void func_3000()
- {
- int iVar0;
- Vector3 Var1;
- Vector3 Var2;
- float fVar3;
- float uVar4;
- Vector3 vVar5;
- Vector3 vVar6;
- float uVar7;
- Vector3 vVar8;
- Vector3 vVar9;
-
-
- if (IS_PLAYER_PLAYING(PLAYER_ID()))
- {
- if (IS_PED_IN_ANY_VEHICLE(PLAYER_PED_ID(), 0))
- {
- _DISABLE_INPUT_GROUP(2);
- iVar0 = GET_VEHICLE_PED_IS_IN(PLAYER_PED_ID(), 0);
- GET_MODEL_DIMENSIONS(GET_ENTITY_MODEL(iVar0), &Var1, &Var2);
- if (IS_CONTROL_JUST_PRESSED(2, INPUT_SCRIPT_LS) || IS_CONTROL_PRESSED(2, INPUT_SCRIPT_LS))
- {
- if (IS_CONTROL_PRESSED(2, INPUT_SCRIPT_RS))
- {
- Global_1312302_8 = GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(iVar0, (Var1.x - 0.2f), (Var1.y - 0.5f), 0.0f);
- Global_1312302_11 = GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(iVar0, (Var2.x + 0.2f), (Var1.y - 0.5f), 0.0f);
- if (!IS_ENTITY_IN_AIR(iVar0))
- {
- _GET_GROUND_Z_COORD_WITH_OFFSETS(Global_1312302_8.x, Global_1312302_8.y, Global_1312302_8.z, &uVar4, &vVar5);
- vVar6 = func_363(vVar5, Subtract(func_765(Global_1312302_11), Global_1312302_8));
- Global_1312302_2 = Subtract(Global_1312302_8, Modulate(vVar6, NewVector3(300.0f, 300.0f, 300.0f)));
- Global_1312302_5 = Subtract(Global_1312302_11, Modulate(vVar6, NewVector3(300.0f, 300.0f, 300.0f)));
- }
- else
- {
- Global_1312302_2 = func_3001(Global_1312302_8, iVar0, -300.0f);
- Global_1312302_5 = func_3001(Global_1312302_11, iVar0, -300.0f);
- }
- }
- else
- {
- [color=#333333] Global_1312302_8 = GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(iVar0, (Var1.x - 0
Users browsing: 1 Guest(s)