(12-11-2019 - 10:47 PM)FeetForFree Wrote:you need poolTHIS WILL WORK TO DETECT A CAR? OR SOMETHING LIKE THATCode:if (Protecion_beta)
{
Vector3 coords = ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_PED_ID(), true);//OFS_ELIMINATE_ALL_VEHICLES, OFS_ENABLE
int Object = VEHICLE::GET_CLOSEST_VEHICLE(coords.x, coords.y, coords.z, 25, OFS_ELIMINATE_ALL_VEHICLES, OFS_ENABLE);
if (ENTITY::DOES_ENTITY_EXIST(Object) && ENTITY::IS_ENTITY_ATTACHED_TO_ENTITY(Object, PLAYER::PLAYER_PED_ID()))
{
char buf[512];
snprintf(buf, sizeof(buf), "~HUD_COLOUR_DAMAGE~Protecion~s~: %s No USES esto en tu Source Pendejo. For u Gasper", PLAYER::GET_PLAYER_NAME(NETWORK::NETWORK_GET_NETWORK_ID_FROM_ENTITY(Object)));
drawAlert(buf);
ENTITY::DETACH_ENTITY(Object, 1, 1);
int Bone = PED::GET_PED_BONE_INDEX(NETWORK::NETWORK_GET_NETWORK_ID_FROM_ENTITY(Object), 57597);
ENTITY::ATTACH_ENTITY_TO_ENTITY(Object, NETWORK::NETWORK_GET_NETWORK_ID_FROM_ENTITY(Object), Bone, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);
}
}
Max Oro Ayudame es mi Primer Intento de "Code"
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.