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
 2819

A KIND OF DETECT A CAR OR SOMETHING LIKE THAT

by EMILG0NZA - 12-11-2019 - 10:47 PM
#11
(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"
you need pool
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#12
(12-29-2019 - 01:29 PM)todasico Wrote: looool this is the trash way to do this
IMAO This is a Request not a Afirmative LOL
Disc = 0xemiil
Reply
#13
how use in my source
Reply
#14
(12-29-2019 - 11:56 PM)figgetWigget Wrote: how use in my source
U can Made by U Own LOL
Disc = 0xemiil
Reply
#15
trashh looooooooool
Reply
#16
(12-30-2019 - 06:24 PM)todasico Wrote: trashh looooooooool
Its a Request Lololooloo
Disc = 0xemiil
Reply

Users browsing: 2 Guest(s)