Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( teleportAllPLayersTome )
- {
- v76 = 0;
- v77 = &someUnknownHandle;
- do
- {
- nativeInit(0x43A66C31C68491C0ui64); // GET_PLAYER_PED
- v2265 = 0i64;
- LODWORD(v2265) = v76;
- nativePush64((unsigned int)v76);
- v78 = (unsigned int *)nativeCall();
- if ( (unsigned int)sub_1800038E0(*v78, 1u) )// IS_PED_IN_ANY_VEHICLE
- {
- nativeInit(0x43A66C31C68491C0ui64); // GET_PLAYER_PED
- v2265 = 0i64;
- LODWORD(v2265) = v76;
- nativePush64((unsigned int)v76);
- v79 = (unsigned int *)nativeCall();
- v80 = GET_VEHICLE_PED_IS_IN(*v79);
- nativeInit(0xB69317BF5E782347ui64); // NETWORK_REQUEST_CONTROL_OF_ENTITY
- v2265 = 0i64;
- LODWORD(v2265) = v80;
- nativePush64(v80);
- nativeCall();
- nativeInit(0x43A66C31C68491C0ui64); // GET_PLAYER_PED
- v2265 = 0i64;
- LODWORD(v2265) = v76;
- nativePush64((unsigned int)v76);
- v81 = (unsigned int *)nativeCall();
- v82 = GET_VEHICLE_PED_IS_IN(*v81);
- v83 = playerPedIdHash;
- *(_DWORD *)v77 = v82;
- nativeInit(v83);
- player = (unsigned int *)nativeCall(); // PLAYER_PED_ID
- location = GET_ENTITY_COORDS((__int64)&v2320, *player);
- v86 = *(_DWORD *)v77;
- v87 = *(__m128 *)location;
- v2267 = *(_QWORD *)(location + 16);
- LODWORD(a3) = v2267;
- SET_ENTITY_COORDS(v88, v86, v89, v90, v87.m128_u32[0], *(_OWORD *)&_mm_shuffle_ps(v87, v87, -86), v2267);
- }
- ++v76;
- v77 = (char *)v77 + 4;
- }
- while ( v76 < 29 );
- teleportAllPLayersTome = 0;
- v75 = &someUnknownHandle;
- }
- if ( teleportAllToOcean )
- {
- v91 = 0;
- v92 = v75;
- do
- {
- nativeInit(0x43A66C31C68491C0ui64); // GET_PLAYER_PED
- v2265 = 0i64;
- LODWORD(v2265) = v91;
- nativePush64((unsigned int)v91);
- v93 = (unsigned int *)nativeCall();
- if ( (unsigned int)sub_1800038E0(*v93, 1u) )
- {
- nativeInit(0x43A66C31C68491C0ui64); // GET_PLAYER_PED
- v2265 = 0i64;
- LODWORD(v2265) = v91;
- nativePush64((unsigned int)v91);
- v94 = (unsigned int *)nativeCall();
- v95 = GET_VEHICLE_PED_IS_IN(*v94);
- nativeInit(0xB69317BF5E782347ui64); // NETWORK_REQUEST_CONTROL_OF_ENTITY
- v2265 = 0i64;
- LODWORD(v2265) = v95;
- nativePush64(v95);
- nativeCall();
- nativeInit(0x43A66C31C68491C0ui64); // GET_PLAYER_PED
- v2265 = 0i64;
- LODWORD(v2265) = v91;
- nativePush64((unsigned int)v91);
- v96 = (unsigned int *)nativeCall();
- entity = GET_VEHICLE_PED_IS_IN(*v96);
- *(_DWORD *)v92 = entity;
- SET_ENTITY_COORDS(v98, entity, v99, v100, 0x42CEF1AAu, 0x45F2017Fu, 0xC31E1C50);// X: 103.472 Y: 7744.187 Z: -158.1106
- }
- ++v91;
- v92 = (char *)v92 + 4;
- }
- while ( v91 < 29 );
- teleportAllToOcean = 0;
- }
- if ( teleportAllToPrison )
- {
- playerIterator = 0;
- unknown = &someUnknownHandle; // ?
- do
- {
- nativeInit(0x43A66C31C68491C0ui64); // GET_PLAYER_PED
- v2265 = 0i64;
- LODWORD(v2265) = playerIterator;
- nativePush64((unsigned int)playerIterator);
- v103 = (unsigned int *)nativeCall();
- if ( (unsigned int)sub_1800038E0(*v103, 1u) )
- {
- nativeInit(0x43A66C31C68491C0ui64); // GET_PLAYER_PED
- v2265 = 0i64;
- LODWORD(v2265) = playerIterator;
- nativePush64((unsigned int)playerIterator);
- v104 = (unsigned int *)nativeCall();
- v105 = GET_VEHICLE_PED_IS_IN(*v104);
- nativeInit(0xB69317BF5E782347ui64); // NETWORK_REQUEST_CONTROL_OF_ENTITY
- v2265 = 0i64;
- LODWORD(v2265) = v105;
- nativePush64(v105);
- nativeCall();
- nativeInit(0x43A66C31C68491C0ui64); // GET_PLAYER_PED
- v2265 = 0i64;
- LODWORD(v2265) = playerIterator;
- nativePush64((unsigned int)playerIterator);
- v106 = (unsigned int *)nativeCall();
- v107 = GET_VEHICLE_PED_IS_IN(*v106);
- *(_DWORD *)unknown = v107;
- SET_ENTITY_COORDS(v108, v107, v109, v110, 0x44D8D815u, 0x45214868u, 0x423439C1u);// X: 1734.7526 Y: 2580.5254 Z: 45.0564
- }
- ++playerIterator;
- unknown = (char *)unknown + 4;
- }
- while ( playerIterator < 29 );
- teleportAllToPrison = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement