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
 2172

2.5k drop code

by depreseedddd - 10-01-2018 - 03:51 PM
#1
can anyone help me with the 2.5k drop code? , im new to gta 5 coding , i need some assistance ofc, if anyone willing to help , it will be highly appreciated :D
Reply
#2
xD use natives ! its not that hard
Reply
#3
(10-01-2018 - 07:11 PM)olimpiakos1925 Wrote: xD use natives ! its not that hard

well , im confused asf  ;/
Reply
#4
for which platform?
Reply
#5
(10-02-2018 - 01:03 PM)Bandit33800 Wrote: for which platform?

PC probably
only on PC have this issue with 2,5k
as far I know
Reply
#6
(10-02-2018 - 01:03 PM)Bandit33800 Wrote: for which platform?

for pc , as 2k drops are patched
Reply
#7
(10-02-2018 - 06:59 PM)depreseedddd Wrote:
(10-02-2018 - 01:03 PM)Bandit33800 Wrote: for which platform?

for pc , as 2k drops are patched

Their not patched you need to not be a skid xD Nothing is patched when put in memory ;)
Reply
#8
(10-02-2018 - 02:05 PM)shandor96 Wrote:
(10-02-2018 - 01:03 PM)Bandit33800 Wrote: for which platform?

PC probably
only on PC have this issue with 2,5k
as far I know

it's always better to ask since most of them forgot to specify the platform on which their questions

(10-02-2018 - 06:59 PM)depreseedddd Wrote:
(10-02-2018 - 01:03 PM)Bandit33800 Wrote: for which platform?

for pc , as 2k drops are patched

no the 2k is not patched
at each update of the game, some things must be updated in your codings option
Reply
#9
void moneyDrop(Player player)
{
const uint32_t prop = 2628187989ul;
const uint32_t pkup = 3ul; //if you use the index and not the hash (undetected)

Entity entity = PLAYER::GET_PLAYER_PED_SCRIPT_INDEX(player);
if (ENTITY::DOES_ENTITY_EXIST(entity))
{
if (!STREAMING::HAS_MODEL_LOADED(prop))
STREAMING::REQUEST_MODEL(prop);
else
{
Vector3 pos = ENTITY::GET_ENTITY_COORDS(entity, false);
Pickup cashBag = OBJECT::CREATE_AMBIENT_PICKUP(pkup, pos.x, pos.y, pos.z + 1.5f, 0, 2500, prop, false, true, true);
if (cashBag) ENTITY::SET_OBJECT_AS_NO_LONGER_NEEDED(&cashBag);
}
}
}
Reply
#10
(10-03-2018 - 12:49 AM)give-two Wrote: void moneyDrop(Player player)
{
const uint32_t prop = 2628187989ul;
const uint32_t pkup = 3ul; //if you use the index and not the hash (undetected)

Entity entity = PLAYER::GET_PLAYER_PED_SCRIPT_INDEX(player);
if (ENTITY::DOES_ENTITY_EXIST(entity))
{
if (!STREAMING::HAS_MODEL_LOADED(prop))
STREAMING::REQUEST_MODEL(prop);
else
{
Vector3 pos = ENTITY::GET_ENTITY_COORDS(entity, false);
Pickup cashBag = OBJECT::CREATE_AMBIENT_PICKUP(pkup, pos.x, pos.y, pos.z + 1.5f, 0, 2500, prop, false, true, true);
if (cashBag) ENTITY::SET_OBJECT_AS_NO_LONGER_NEEDED(&cashBag);
}
}
}
great code :D , thanks a lot
Reply

Users browsing: 3 Guest(s)