ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2804

A KIND OF DETECT A CAR OR SOMETHING LIKE THAT

by EMILG0NZA - 12-11-2019 - 10:47 PM
#1
Code:
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);
}
}
THIS WILL WORK TO DETECT A CAR? OR SOMETHING LIKE THAT

Max Oro Ayudame es mi Primer Intento de "Code"
Reply
#2
yo estoy intentando que me avise las protecciones y yo aun no lo he conseguido enhorabuena bro
Reply
#3
(12-11-2019 - 11:00 PM)carlos_20 Wrote: yo estoy intentando que me avise las protecciones y yo aun no lo he conseguido enhorabuena bro
Pasame tu Discord
Reply
#4
Mi discord es Aurelio#1348
Reply
#5
thx man for this
Reply
#6
(12-11-2019 - 10:47 PM)FeetForFree Wrote:
Code:
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);
}
}
THIS WILL WORK TO DETECT A CAR? OR SOMETHING LIKE THAT

Max Oro Ayudame es mi Primer Intento de "Code"
i think can't work
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#7
(12-12-2019 - 07:12 PM)NoNameV2345 Wrote:
(12-11-2019 - 10:47 PM)FeetForFree Wrote:
Code:
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);
}
}
THIS WILL WORK TO DETECT A CAR? OR SOMETHING LIKE THAT

Max Oro Ayudame es mi Primer Intento de "Code"
i think can't work
yes i think that too This was a Suggestion not a Leaked code but ok
Reply
#8
In what way do r u wanting to detect cars? like what for exactly?
2021 Best Be Better Then 2020
Reply
#9
(12-29-2019 - 07:49 AM)trinity7 Wrote: In what way do r u wanting to detect cars? like what for exactly?
Just From the Freeze Car Crash
Disc = 0xemiil
Reply
#10
looool this is the trash way to do this
Reply

Users browsing: 3 Guest(s)