Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int playerCount = NETWORK::NETWORK_GET_NUM_CONNECTED_PLAYERS();
- for(int i = 0; i < playerCount; i++) {
- Ped PlayerPed = PLAYER::GET_PLAYER_PED(i);
- Vector3 PlayerPos = ENTITY::GET_ENTITY_COORDS(PlayerPed, false);
- OBJECT::CREATE_AMBIENT_PICKUP(GAMEPLAY::GET_HASH_KEY("PICKUP_MONEY_MED_BAG"), PlayerPos.x, PlayerPos.y, PlayerPos.z, 0, 40000, 1, 0, 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement