Scripting/Squirrel/Functions/CreatePickup
This wiki is using an old backup from 2020
Some information may be old/missing
This function will create a pickup.
Syntax
1
CreatePickup( model , pos )
2
CreatePickup( model, world, quantity, pos, alpha, isAuto )
3
CreatePickupExpanded( model, world, quantity, x, y, z, alpha, isAuto )
Arguments
1
- int model - The model of pickup.
- Vector pos - The pos of pickup.
2
- int model - The model of pickup.
- int world - The world of pickup.
- int quantity - The quantity of pickup.
- Vector pos - The pos of pickup.
- int alpha - The alpha of pickup.
- bool isAuto - (Is auto respawn?)
3
- int model - The model of pickup.
- int world - The world of pickup.
- int quantity - The quantity of pickup.
- float x - The x pos of pickup.
- float y - The y pos of pickup.
- float z - The z pos of pickup.
- int alpha - The alpha of pickup.
- bool isAuto - (Is auto respawn?)
Example
This page needs an example. We will try our best to complete the wiki as soon as possible.