Skip to main content

CREATE_PICKUP_ROTATE

Game.CreatePickupRotateHash0x675E5940
Usage
local pickupIndex = Game.CreatePickupRotate(modelHash, pickupType, ammo, x, y, z, rX, rY, rZ)

Creates a pickup that can be given any orientation.

Parameters

  • modelHashintegerint
  • pickupTypeintegerint
  • ammointegerint
  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • rXnumberfloat
  • rYnumberfloat
  • rZnumberfloat

Returns

  • pickupIndexintegerint*
Original declaration
// 0x675E5940
void CREATE_PICKUP_ROTATE(int modelHash, int pickupType, int ammo, float x, float y, float z, float rX, float rY, float rZ, int* pickupIndex);