Advertisement
ISOFX

40K Drop Code

Jun 23rd, 2015
2,075
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.53 KB | None | 0 0
  1. //Drop 40K (1 BAG) Near your player
  2. //Hope This Helps!
  3.  
  4. STREAMING::REQUEST_MODEL(0x113FD533);
  5.  
  6.                             Vector3 pp = ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_PED_ID(), 0);
  7.                             if (STREAMING::HAS_MODEL_LOADED(0x113FD533))
  8.                             {
  9.                                 static Any PICKUP_MONEY_CASE = GAMEPLAY::GET_HASH_KEY
  10.  
  11.                                     ("PICKUP_MONEY_CASE");
  12.                                 OBJECT::CREATE_AMBIENT_PICKUP(PICKUP_MONEY_CASE, pp.x, pp.y, pp.z + 1,
  13.  
  14.                                     0, 40000, 0x113FD533, FALSE, TRUE);
  15.                                 STREAMING::SET_MODEL_AS_NO_LONGER_NEEDED(0x113FD533);
  16.                             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement